Title: Adapting hardcoded src URLs
Last modified: August 30, 2016

---

# Adapting hardcoded src URLs

 *  Resolved [hotbelgo](https://wordpress.org/support/users/hotbelgo/)
 * (@hotbelgo)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/adapting-hardcoded-src-urls/)
 * I’m updating a long standing blog, and I download the database (or sometimes 
   export the posts) to use on test servers. As a result all of the posts come with
   hardcoded URLs (to the production server, which is effectively an external source).
   What changes do I need to make on my development machine to be able to test out
   the plugin and, when I move to my production server, can the plugin work with
   hardcoded URLs from the same server?
 * (I see in your video that you have simple relative images. How can I add pictures
   from the editor and end up with relative images?)
 * [https://wordpress.org/plugins/responsify-wp/](https://wordpress.org/plugins/responsify-wp/)

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

 *  Plugin Author [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * (@stefanledin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/adapting-hardcoded-src-urls/#post-6463518)
 * Hi hotbelgo!
    RWP doesn’t work with images from another server, so you need to
   download the entire WordPress blog and do a search/replace on the URL in the 
   database. [http://production-server.com](http://production-server.com) should
   be replaced with [http://local-test-server.com](http://local-test-server.com).
 * I’m afraid I doesn’t understand what you mean with relative images…? 🙂
 *  Thread Starter [hotbelgo](https://wordpress.org/support/users/hotbelgo/)
 * (@hotbelgo)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/adapting-hardcoded-src-urls/#post-6463519)
 * Thanks – as changing all URLs is rather drastic, I decided to start by editing
   one of my Pages and inserting photos myself. So that should all be good now, 
   but as my other question shows I have made progress but it does not yet work
 *  Plugin Author [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * (@stefanledin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/adapting-hardcoded-src-urls/#post-6463520)
 * I don’t think that’s drastic if you’re just making a local copy of a production
   site. That’s how I always work 🙂
    I’m looking at the other thread right now,
   see you there!

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

The topic ‘Adapting hardcoded src URLs’ is closed to new replies.

 * ![](https://ps.w.org/responsify-wp/assets/icon-256x256.png?rev=1209208)
 * [Responsify WP](https://wordpress.org/plugins/responsify-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsify-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsify-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/responsify-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsify-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsify-wp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/adapting-hardcoded-src-urls/#post-6463520)
 * Status: resolved