Support » Fixing WordPress » Media in Alternate Location

  • I have a large batch of images that I need to incorporate into our WP site. The issue is that in addition to using them on the site, they also need to be located on our server so they have nice clean URLs because the URLs are listed in various publications.

    I uploaded them to a directory under our webroot which gives them proper URLs (…) and thought I could just incorporate them into the WP media library with a plugin like Add From Server. But rather then add the current location to the library, the plugin creates a copy in the wp-content/uploads folder. This results in having two duplicates that would then have to be kept in sync.

    I have seen plenty of information about changing the location of the media directory, but these images are only a small subset of the media on the site, so that would not be appropriate.

    I also thought of trying to do something with remapping, (i.e. mapping… to… but the images need to be organized in sub-directories (e.g.…) and that all gets stripped out when the images are copied to the wp-content/uploads folder.

    Any advice or suggestions would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • This isn’t helpful in terms of answering the question, but when faced with a similar situation I just bit the bullet and store the images in both locations.

    I kept the old location (and don’t add anything new there) for sites that depend on that URL.

    The new site has the benefit of WP organization in terms of multiple sizes, library availability (my previous images were managed outside of WP), etc, so the cost in duplicated storage was OK due to my needs.

    Hope this helps.

    The storage space isn’t really a big issue. The maps will be updated over time and I was hoping to avoid the complexity of having to update files in two places – especially if someone who is less web savvy take over the site in the future.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Media in Alternate Location’ is closed to new replies.