Override the base URL of the sitemap not working?
-
I have a blog in a subdirectory
I want the sitemap.xml to publish to the root
https://mydomqain.com/sitemap.xml
I have set the text box for:
Override the base URL of the sitemap to:
and changed my rewrite settings as the instructions say to do.
When I click on update and scroll to the top it says:
The URL to your sitemap index file is: https://mydomain.com/blog/sitemap.xml
If I use that url in Google Webmaster tools it works.
But I wanted the sitemap.xml to publish to the root, not the subfolder.
I have tried changing Override the base URL of the sitemap to:
and after I update it says:
The URL to your sitemap index file is: https://mydomain.com/sitemap.xml
But If I use that URL in Google Webmaster Tools it says it does not exist and I get a 404 error.
Thanks for your help.
Marc
- The topic ‘Override the base URL of the sitemap not working?’ is closed to new replies.