301s required for media attachments uls in old site xml file?

KenLondon

Newbie
Joined
Aug 8, 2024
Messages
5
Reaction score
1
Hi,

Noobie here, please be gentle! ;)

I'm creating a new WordPress site for a client and in setting up Yoast SEO, I noticed in the old site the previous designer had allowed Yoast SEO to set-up an xml sitemap to include all media attachments. This created 3000+ media attachment uls to various images.

The "old" images will not be used in the new site, and I will disable media attachments in Yoast SEO in the new site. In order to protect SE rankings, do I need to set-up 301 redirects for all these old sitemap links?

Thanks,

Ken.
 
You need to set up 301 redirects for the old media attachment URLs, especially if they were indexed or had significant traffic. If the URLs were not indexed or aren't critical, you might skip the redirects.
 
Thanks, I will do.
You need to set up 301 redirects for the old media attachment URLs, especially if they were indexed or had significant traffic. If the URLs were not indexed or aren't critical, you might skip the redirects.
Thanks, I will do.:)
 
make sure your new sitemap generated by Yoast SEO excludes the media attachments if they are not being used. This avoids unnecessary indexing of outdated media URLs.After updating, submit the new sitemap to Google Search Console to ensure that search engines index the correct URLs.
 
make sure your new sitemap generated by Yoast SEO excludes the media attachments if they are not being used. This avoids unnecessary indexing of outdated media URLs.After updating, submit the new sitemap to Google Search Console to ensure that search engines index the correct URLs.
Great, will do, thanks.
 
Setting up 301 redirects for the old sitemap links is a smart way to protect your SEO rankings. When you implement these redirects, any traffic or link value from the old media attachment URLs will be directed to relevant pages on the new site. This not only helps maintain your rankings but also improves the user experience by guiding visitors to the right content instead of leading them to broken links.
 
Setting up 301 redirects for the old sitemap links is a smart way to protect your SEO rankings. When you implement these redirects, any traffic or link value from the old media attachment URLs will be directed to relevant pages on the new site. This not only helps maintain your rankings but also improves the user experience by guiding visitors to the right content instead of leading them to broken links.
Thanks for the advice. :)
 
Setting up 301 redirects for the old sitemap links is a smart way to protect your SEO rankings. When you implement these redirects, any traffic or link value from the old media attachment URLs will be directed to relevant pages on the new site. This not only helps maintain your rankings but also improves the user experience by guiding visitors to the right content instead of leading them to broken links.
Hi,

Noobie here, please be gentle! ;)

I'm creating a new WordPress site for a client and in setting up Yoast SEO, I noticed in the old site the previous designer had allowed Yoast SEO to set-up an xml sitemap to include all media attachments. This created 3000+ media attachment uls to various images.

The "old" images will not be used in the new site, and I will disable media attachments in Yoast SEO in the new site. In order to protect SE rankings, do I need to set-up 301 redirects for all these old sitemap links?

Thanks,

Ken.
Setting up 301 redirects for the old sitemap links is a smart way to protect your SEO rankings.
 
Redirects helps you with rankings and improves your website SEO along with the links.
 
Back
Top