• Resolved hotbelgo

    (@hotbelgo)


    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://www.ads-software.com/plugins/responsify-wp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author stefanledin

    (@stefanledin)

    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. https://production-server.com should be replaced with https://local-test-server.com.

    I’m afraid I doesn’t understand what you mean with relative images…? ??

    Thread Starter hotbelgo

    (@hotbelgo)

    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

    (@stefanledin)

    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.