Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I am investigating multiple-domain based localisation for a single site, and have been following the google sitemap guide at https://support.google.com/webmasters/answer/75712?hl=en
This is not so much a problem as a critique of the method followed by
Why is it necessary to limit to a single domain if the specification doesn't prohibit it?
The specification doesn't prohibit it but Google isn't such a fan of different URL's so the check was to prevent that as much as possible. https://support.google.com/webmasters/answer/35738?hl=en (URL Not Allowed).
Thanks @wilr for the prompt response.
It does seem a bit contradictory, but it seems from the documentation that this only becomes an issue if only a single domain is verified (www.example.com and not example.com), but it isn't an issue if two domains are each verified under the same account (www.example.com and www.example.co.uk).
So my next question is, can we raise this as an issue with the googlesitemap module? A potential solution would be to make the single-domain restriction configurable.
It could also be argued that
I feel a change in behaviour would be acceptable, but I don't feel strongly that it's urgent. Would you mind if I submit a PR with a suggested fix?