WordPress.org

Forums

all link as relative path (2 posts)

  1. Alain
    Member
    Posted 2 years ago #

    Hi,

    as fresh user of WP, i'm surprised to face a new behavior.
    all pictures i added to my WP site (when i was on my testing server) still use the testing server url while i migrate everything on production server.

    are all medias (images, videos) always used in WP with hard path ? WP do not use relative path for media url ?
    everything is always saved as "http://my-testing-server/wp-content/uploads/2012/12/my-image.jpg"...while i would like to have "wp-content/uploads/2012/12/my-image.jpg" at least, or shorter is possible.

    is it possible ?
    thx

  2. kopyrite
    Member
    Posted 2 years ago #

    I too was surprised by this...

    (and am also a WP newbie)

    I have been researching at have not yet found a simple, straightforward solution.

    There seem to be plugins to help, but they seem to have their own set of issues.

    Really seems primitive.

    From what I can tell, when you do try to setup relative addressing using whatever bandage you choose, you should be sure to do ROOT RELATIVE addressing.

Topic Closed

This topic has been closed to new replies.

About this Topic