Giter Club home page Giter Club logo

Comments (7)

nediam avatar nediam commented on September 18, 2024 1

Because its namespace identifier, not a URL ;) and namespace is with http://

from prestasitemapbundle.

yann-eugone avatar yann-eugone commented on September 18, 2024 1

Here it is : https://github.com/prestaconcept/PrestaSitemapBundle/releases/tag/v4.1.1
Sorry for not spotting that during the review

from prestasitemapbundle.

yann-eugone avatar yann-eugone commented on September 18, 2024

Hello,
So it was working with the bundle previous version?

I see you did your best at providing details, still it is not easy to understand what happen without the sitemap content.
Can you add to this issue:

  • a sitemap that is valid
  • the same sitemap but invalid

from prestasitemapbundle.

roderikmutsaers avatar roderikmutsaers commented on September 18, 2024

Same error here.

Problem seems to be the 'xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"' line in src/Sitemap/Sitemapindex.php
Google doesn't accept https over here. When changed to http the warning in Google Search Console is gone.

from prestasitemapbundle.

BriceFab avatar BriceFab commented on September 18, 2024

Same error here.

Problem seems to be the 'xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"' line in src/Sitemap/Sitemapindex.php Google doesn't accept https over here. When changed to http the warning in Google Search Console is gone.

It was changed on the last release: v4.0.0...v4.1.0
I'll try to re-generate my sitemap with version v4.0.0 and sent it again to google search console. I keep you inform

from prestasitemapbundle.

BriceFab avatar BriceFab commented on September 18, 2024

Same error here.

Problem seems to be the 'xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"' line in src/Sitemap/Sitemapindex.php Google doesn't accept https over here. When changed to http the warning in Google Search Console is gone.

I confirm the issue of https that is not allowed by Google:
image

By fixing the release to:
"presta/sitemap-bundle": "4.0",
It's work. v4.0.0...v4.1.0

cc @yann-eugone

from prestasitemapbundle.

yann-eugone avatar yann-eugone commented on September 18, 2024

So it's all related to this #337

But I don't understand why Google is struggling with https here
It seems that the http page is redirecting to the https page anyway

$ curl -sLD - http://www.sitemaps.org/schemas/sitemap/0.9

HTTP/1.1 301 Moved Permanently
Content-Length: 0
Date: Thu, 14 Mar 2024 13:38:03 GMT
Location: https://www.sitemaps.org/schemas/sitemap/0.9

from prestasitemapbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.