-
Notifications
You must be signed in to change notification settings - Fork 6
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
sitemap error on multi-language #28
Comments
Hey @gs-chofmann thx, could you please provide more details and let me know how I can reproduce this? |
You should be able to reproduce it on every installation with more than one language. Just install the plugin on a multi language installation and open up the sitemap.xml on Google Chrome. Then the error occurs as mentioned in the screenshot above. It is because you implement the xhtml:link for the href lang tags - but the xhtml:link has no specification. For more see https://stackoverflow.com/questions/39450542/namespace-prefix-xhtml-on-link-is-not-defined-sitemap-xml |
Thx, I've added your suggested fix! |
On Multilanguage Websites the sitemap.xml is broken
Fix:
urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"
instead of
urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'
The text was updated successfully, but these errors were encountered: