Skip to content
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

Google requires an xmlns for PageMap #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AlexParamonov
Copy link

Hey there,

Thanks a lot for bringing sitemaps to elixir!
I was trying to generate a PageMap and validate it in the google search console but faced the infamous error message:

Incorrect namespace - Your Sitemap or Sitemap index file doesn't properly declare the namespace.

Parent tag:
url
Tag:
PageMap

In Google examples, they always use the xmlns tags for PageMaps, so I gave it a try and was able to import the sitemap after that.
Please find bellow the implementation of attaching the schema to the PageMap tag.

Cheers,
Alexander

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant