-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespace Issue in Sitemap #340
Comments
Hello, I see you did your best at providing details, still it is not easy to understand what happen without the sitemap content.
|
Same error here. Problem seems to be the 'xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"' line in src/Sitemap/Sitemapindex.php |
It was changed on the last release: v4.0.0...v4.1.0 |
I confirm the issue of https that is not allowed by Google: By fixing the release to: cc @yann-eugone |
So it's all related to this #337 But I don't understand why Google is struggling with https here
|
Because its namespace identifier, not a URL ;) and namespace is with http:// |
Here it is : https://github.com/prestaconcept/PrestaSitemapBundle/releases/tag/v4.1.1 |
Problem Description
After updating the PrestaConcept bundle from version 3.3 to 4.1 in our project, we have encountered an issue as reported by Google's Search Console. The error message from Google indicates that there is a problem with namespaces: "The namespace is not correctly indicated in your index file or your sitemap."
Despite reviewing the sitemap output, the issue is not immediately apparent, as everything seems correct at first glance. This problem has arisen post-update, and we were not encountering this issue in the previous version of the bundle.
Steps to Reproduce
Expected Behavior
The sitemap should be accepted by Google's Search Console without any namespace-related errors.
Actual Behavior
Google's Search Console reports an error regarding the namespaces, suggesting they are not correctly indicated in the sitemap or index file.
Additional Context
I would greatly appreciate any guidance or recommendations on how to resolve this namespace issue.
Is there a known workaround or fix that could be applied to ensure compliance with Google's Search Console requirements?
I can open a PR if someone has more information about what's the problem reported from Google.
The sitemap URL is: https://www.fitmetrics.ch/sitemaps/sitemap.xml and https://www.fitmetrics.ch/sitemaps/sitemap.exercise.xml
Environment
Thank you for your time and assistance, and for your continued efforts in developing and maintaining the PrestaConcept bundle. Your work is greatly appreciated by the community.
The text was updated successfully, but these errors were encountered: