WordPress.org

Forums

Change the path for images (2 posts)

  1. chrisauman
    Member
    Posted 5 years ago #

    I recently moved a client's blog from /blog/ on her site to root so she could built her whole site with WordPress. I neglected to notice that by default WordPress places all images in the post with a full path. So when we imported the database for the new site, all the images were referencing back to within the /blog/ directory. So I had to go through and manually change all the paths on the images.

    Is there a way to define how WordPress codes the images it places on the page? It would be much better to start the path at /wp-content/.

    Thanks in advance.

    Chris

  2. Samuel B
    moderator
    Posted 5 years ago #

    I agree - relative paths would be nice - however....no such luck

    if ever in that spot again use this plugin
    http://wordpress.org/extend/plugins/search-and-replace/

Topic Closed

This topic has been closed to new replies.

About this Topic