moved site to root and image paths did not change (3 posts)

  1. rstarr
    Posted 9 years ago #

    I moved my site up one directory to the root, and all of the paths to the images that i added thru the wp-admin did not update. I had to manually delete them all and reupload them to the site. How can I avoid having to do this in the future. (The images that were coded into my site were fine. Just the ones uploaded thru the editor were problematic).

  2. moshu
    Posted 9 years ago #

    The path (URI) for images in posts is stored in the database, like

    Now, eliminating the "subdir" part - those links don't work, of course.

    In the future you can use the Search&Replace plugin:

  3. rstarr
    Posted 9 years ago #

    thanks for the info! when u say stored in the database, does that mean i use php myadmin to eliminate the "subdir" part?

    thank you

Topic Closed

This topic has been closed to new replies.

About this Topic