Those pages are all indexed and rank well, so I want to be extra careful.
This is my current sitemap.xml
:
/OLD_FOLDER/some-slug-1
/OLD_FOLDER/some-slug-2
/OLD_FOLDER/some-slug-3
I'm setting up 301 redirects
, replacing OLD_FOLDER
with NEW_FOLDER
.
So, my new sitemap.xml
will become:
/NEW_FOLDER/some-slug-1
/NEW_FOLDER/some-slug-2
/NEW_FOLDER/some-slug-3
Here are my worries about doing that:
- What if Googlebot "sees" my new sitemap before it visits any old url? I.e: before it sees any of the
301 redirects
?
In this case, Googlebot will discover some "NEW" urls with the NEW_FOLDER
and might try to index those before it even sees the 301
redirects on the OLD urls. And I have no idea how it would behave in this scenario. Will Googlebot be "smart" enough to merge all the ranking signals from the OLD urls when later it sees the 301
redirects?
If Googlebot "sees" the 301 redirects
from the OLD urls before discovering the NEW urls, then I'm pretty sure everything will be fine.
What is the correct approach on this? Should I set the redirects and wait a couple of months before updating my Sitemap?