Skip to contentSkip to main navigation Skip to footer

Redirect Images From The Old Paths to The New Paths

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.

  1. 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.
custom uploads
  1. Select the MEDIA Files from Hide My WP > Change Paths > Hide WordPress Common Path > Hide File Extensions extension list.
redirect media files

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/