WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] Thumbnail images missing when WordPress domain changed (2 posts)

  1. wattsyourwebsite
    Member
    Posted 1 year ago #

    Using Select Business Directory Plugin version 2.1.4.1
    I just moved my WordPress site from http://www.oldurl.com to http://www.newurl.com
    In that process I seem to have lost all of the thumbnail images for every listing.

    Is there anything I can do to get them back?
    I don't want to have to go into each directory listing to re-assign.

    Thanks,
    Tania

    http://wordpress.org/extend/plugins/business-directory-plugin/

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Tania,

    Well, the images would be saved with domain-specific URLs, so they are all prefixed by oldurl.com. There are a couple of ways to handle this:

    - You can change your .htaccess to auto-redirect requests from oldurl->newurl for images.
    - You can go into the database and update the records used by BD with queries, although this will still be a one-at-a-time fix.

    Basically, there's no easy answer here, as we have to save the location of the images for display and it happened to keep the URL in it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic