Redirect Images From The Old Paths to The New Paths
May 17, 2023
If you change the image paths using Hide My WP Ghost plugin, it is important not to have the same image on two different URLs on a website to avoid duplicate content issues and to maintain good search engine optimization (SEO) practices.
When search engines like Google detect duplicate content, it can negatively impact the website’s visibility and rankings in search results.
- Set a new uploads path. Choose a directory name in Hide My WP > Change Paths > WP Core Security like “storage” where you want to store the uploaded images.
- Select the MEDIA Files from Hide My WP > Change Paths > Hide WordPress Common Path > Hide File Extensions extension list.
By implementing this solution, any requests for images in the old /wp-content/uploads/
the directory will be redirected to the new /storage/
directory, preventing duplicate URLs for the same image.
Learn how to hide the old image paths from users:
https://hidemywpghost.com/faqs/how-can-i-hide-the-old-images-paths/