• RKS213

    (@rks213)


    So I normally have testing environments like:

    mySite.com/testing/wordpress/2015/newSite

    and the production lives at standard root like:

    example.com/

    The relative paths created are

    <img src=”/testing/wordpress/2015/newSite/wp-content/uploads/2015/09/image.jpg” />

    and I don’t think that’s going to transfer well and be just as bad as the default absolute paths WordPress generates. Is there an option or anything that will use wp_uploads_dir or something like that?

    https://www.ads-software.com/plugins/relative-image-urls/

  • The topic ‘Does this work going from sub directories to root?’ is closed to new replies.