Moved wordpress to subdirectory – images not showing – relink?

I’m not a wordpress person – but I had to move WordPress to a subdirectory from root for a person the other day.

I followed the steps on the WordPress site – and everything transferred fine. All the articles, logins, etc. display fine.

Read More

The issue is the images in the articles – they are linking to the old address (from root: www.domain.com/link/to/image); the images are now in a subdirectory (www.domain.com/blog/link/to/image)

What is the best way to resolve that? Obviously going into each article and re-linking would solve the issue but is there an easier, less time-intensive way? .htaccess? some other bit of coding that would be helpful? Again, I’m not a wordpress guy so I’m not sure what would be the best way to do this but I would think there has to be something besides manually going through blog posts?

Related posts

Leave a Reply

2 comments

  1. Have you tried going to:
    Settings in WP-Admin >> Media Settings
    Then try changing both:

    “Store uploads in this folder” Default is wp-content/uploads
    “Full URL path to files” Configuring this is optional. By default, it should be blank.

    This should do the trick