After moving my site to a new server and domain name I have a problem with my sitemap.
The sitemap is still using the old domain name.
I changed these fields in admin:
- Base-URL for save and unsave version to new domain and HTTPS
I cleared cache
I created a new sitemap
No result :-( Who can help me with this
Solved! Go to Solution.
Hello @chris_koeling,
Google Sitemap is an .xml file which serves as a guideline for Google bots (and other search engines’ crawlers as well) on all of the pages on your website so it would be easier than findind and indexing the pages on their own. Please try to regenerate sitemap on new domain.
Step 1: Generate the sitemap
Step 2: Submit your sitemap to Google
/media/s4d71280645299/sitemaps/sitemap.xml
It’s done! You have successfully created a sitemap for your Magento website. Please remember this does NOT guarantee that all of your URLs will be indexed by Google, but rather makes the index process faster and easier.
--
If my answer is useful, please Accept as Solution & give Kudos
Hi @chris_koeling,
Can you explain a little bit more about which sitemap. I mean, the sitemap.xml file or the site map you can browse?
sorry for that. The problem is happening with the Google Sitemap sitemap.xml.
I tried rebuilding it and even removing it en recreating it but nothings seems to be helping.
Hello @chris_koeling,
Google Sitemap is an .xml file which serves as a guideline for Google bots (and other search engines’ crawlers as well) on all of the pages on your website so it would be easier than findind and indexing the pages on their own. Please try to regenerate sitemap on new domain.
Step 1: Generate the sitemap
Step 2: Submit your sitemap to Google
/media/s4d71280645299/sitemaps/sitemap.xml
It’s done! You have successfully created a sitemap for your Magento website. Please remember this does NOT guarantee that all of your URLs will be indexed by Google, but rather makes the index process faster and easier.
--
If my answer is useful, please Accept as Solution & give Kudos
I have done this multiple times but the newly created sitemap contains the old url.
Example:
Website url: www.newurl.nl
Google Sitemap urls: www.oldurl.nl
I found that the file on the server was including new domain names and that it was a local cache problem. Thanks for helping me out.