Mobile app version of vmapp.org
Login or Join
Odierno851

: Do I need to update the sitemap.xml file after removing some URLs? Do I need to update the sitemap.xml file after removing some URLs from the website and merge three different URLs to a single

@Odierno851

Posted in: #Seo #Url #XmlSitemap

Do I need to update the sitemap.xml file after removing some URLs from the website and merge three different URLs to a single one.

For example, three different URLs:

example.com/one.html (main url) example.com/one-yellow.html www.example.com/one-yellow-means.html


and the final merged URL: example.com/one.html.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Odierno851

1 Comments

Sorted by latest first Latest Oldest Best

 

@Barnes591

It is recommended to keep a sitemap.xml up-to-date and free of errors*.

If you merge the content of example.com/one-yellow.html and example.com/one-yellow-means.html into example.com/one.html you probably (ideally) redirect them both to example.com/one.html.
Other URLs that have been removed may serve an HTTP status 404 (not foud) or similar.

In order to make crawling your website easy Google recommends to use only URLs in your sitemap that serve HTTP Status 200.

If you have URLs in your sitemap causing errors you can see warnings in your Google Search Console property:


Long story short:


Make sure to 301 redirect your old URLs to your new URL.
Update your Sitemap and delete all URLs that do not serve HTTP 200 directly


*For further possible errors regarding sitemaps see: support.google.com/webmasters/answer/183669?hl=en

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme