Gallery content path

  • Author
  • #1249808


    I have recently moved a blog to a new dir, from
    to the root dir:

    Everything went smoothly except for the content previously uploaded to wp-content/gallery.

    It keeps giving me 404’s on images in pre-move posts and as far as I can tell it is only the gallery that does this.

    The only solution I have found, and it is ugly, is to have two wp-content dirs, one in the root dir and one under the /blog subdir.

    Here is an example of a post on the site:

    The very first image is updated manually to point to the new installation dir, but click on any of the other images and you will see it still points to blog/wp-content/gallery/

    I tested with new images and it uploads correctly to the new installation dir, so no problems with the move that I’m aware of.

    How can I get all the media previously posted to point to the new root path?
    Having two wp-content dirs is a waste of server space and redoing all the posts is a big task.

    The blog I need help with is



    A WordPress>ORG software install is not a free hosted WordPress.COM blog. We provide support for here at WordPress.COM only for free hosted WordPress>COM blogs. If you don’t have a username account at click and register one on the top right hand corner of the page that opens, so you can post to the support forums there and receive advice from bloggers.



    Thank you for clearing that up, the mods can delete this topic then.

The topic ‘Gallery content path’ is closed to new replies.