@g1smd
If you have two URLs, one of which returns content and "200 OK" status, and the other returns "301 Moved", there is NO duplicate content issue.
This is correct, but from how I understood the opening post, nestman is concerned about the timespan where Google has picked up the new URL, but has not yet re-crawled the old URL, hence resulting in Google having two versions of URL for the same content for a while. From my experience, Google is always much faster spidering new URLs than re-spidering existing.
@nestman
There are some speculations that if you keep old URLs in Sitemap for a while, you will "speed up" the process of Google re-crawling old URLs. I am personally not in the favour of this because Sitemap should only contain valid URLs that do not redirect / are not blocked by robots.
And importantly, leaving OLD URLs in sitemap
will not preclude Google from seeing duplicate content between new and old URLs (which will exist until the old URL is re-spidered).
As g1smd said in his post further above, you should:
- link internally to new URLs (I presume this is what you are doing?)
- have 301 in place from old --> new URL (which I believe you have)
- and I would favour to update the Sitemap to have new URLs in there as it shows better indications of site being properly technically maintained
With regards to *temporary* duplicate content that will exist in the period where Google has spidered new URL but not yet re-spidered old URL, my experience is that, when executed technically well, this will not hurt the site. What I have found out is that old URL ranks (and new is ignored, as is duplicate), until Google picks up redirect, at which point new URL ranks, often in the place of the old one.
Ald lastly, if there are many URLs replaced and redirected, it may take Google some time to pick up all redirects.