Title: bamerrell's Replies | WordPress.org

---

# bamerrell

  [  ](https://wordpress.org/support/users/bamerrell/)

 *   [Profile](https://wordpress.org/support/users/bamerrell/)
 *   [Topics Started](https://wordpress.org/support/users/bamerrell/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bamerrell/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bamerrell/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bamerrell/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bamerrell/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bamerrell/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Image links broken after changing site address from pre-existing install](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/)
 *  Thread Starter [bamerrell](https://wordpress.org/support/users/bamerrell/)
 * (@bamerrell)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/#post-4357607)
 * I was afraid that I might have to start over. I do still have a full install 
   in the root, but the copy has its own DB, etc.
 * Can you elaborate on the possibility of a .htcacess conflict? What comes to mind
   that might be amiss in the wp-config? And why would these prevent the script 
   from being recognized?
 * I don’t want to take up too much of your time, but I would love to at least figure
   out what is wrong so I can learn from this headache.
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Image links broken after changing site address from pre-existing install](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/)
 *  Thread Starter [bamerrell](https://wordpress.org/support/users/bamerrell/)
 * (@bamerrell)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/#post-4357605)
 * Thanks! This looks like a great tool.
 * I’m trying to use it now; I’ve uploaded the file ‘searchreplacedb2.php’ it to‘
   example.com/dev/’ and when I try to use my browser to navigate to ‘example.com/
   dev/searchreplacedb2.php’ I get a 404. Am I being dumb or is my hosting provider
   possibly preventing me from running this? Or both maybe?
 * Thanks again!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Image links broken after changing site address from pre-existing install](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/)
 *  Thread Starter [bamerrell](https://wordpress.org/support/users/bamerrell/)
 * (@bamerrell)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/#post-4357603)
 * So I’ve been really busy and I haven’t had the time to try the steps listed above,
   but I think I figured out what is going on here.
 * When I created this development site ‘www.example.com/dev’, I must have done 
   something wrong. It looks like all the image links on the dev site are still 
   pointing to the original site ‘www.example.com/wp-content/uploads…’. I tried 
   my best to follow documentation when I made the dev site, but it was a long time
   ago so I don’t remember exactly what I did. I remember that I copied the original
   site and moved it over, but I don’t know the steps I took.
 * I think if I can manage to fix the image anchors on the dev site to point to ‘
   wwww.example.com/dev/wp-content…’, it will be smooth sailing when I delete the
   original site and transition to the dev site.
 * Does anyone know how I can fix these links? I tried running the Velvet Blues 
   Update URLs plugin to no avail:
 * Results
    9 Content Items (Posts, Pages, Custom Post Types, Revisions) 0 Links
   10 Attachments 34 Custom Fields
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Image links broken after changing site address from pre-existing install](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/)
 *  Thread Starter [bamerrell](https://wordpress.org/support/users/bamerrell/)
 * (@bamerrell)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/#post-4357497)
 * I had to restore my pre-migrated site because I’m about to go off the grid for
   Thanksgiving weekend, and the site was unusable.
 * I’ll try out your fix early next week though and update with my progress.
 * Thanks again!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Image links broken after changing site address from pre-existing install](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/)
 *  Thread Starter [bamerrell](https://wordpress.org/support/users/bamerrell/)
 * (@bamerrell)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/#post-4357465)
 * A little more info: I’ve tried running the plug-in with the following values:
 * Old URL: [http://www.example.com](http://www.example.com)
    New URL: [http://www.example.com/dev](http://www.example.com/dev)
 * and
 * Old URL: [http://www.example.com/dev](http://www.example.com/dev)
    New URL: [http://www.example.com](http://www.example.com)
 * I tried both just in case I had the two mixed up. Same result with both input
   sets.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Image links broken after changing site address from pre-existing install](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/)
 *  Thread Starter [bamerrell](https://wordpress.org/support/users/bamerrell/)
 * (@bamerrell)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-links-broken-after-changing-site-address-from-pre-existing-install/#post-4357464)
 * Hi canah, thanks for your response.
 * I’ve tried tried that plug in several times for this issue, and the image references
   all still point to the bad location of ‘example.com/wp-content/uploads/…’.
 * Here are the results from running the plugin:
    Results 10 Content Items (Posts,
   Pages, Custom Post Types, Revisions) 0 Excerpts 0 Links 6 Attachments 32 Custom
   Fields
 * I have hundreds of images on the site.

Viewing 6 replies - 1 through 6 (of 6 total)