WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Relative vs absolute URLs in posts (4 posts)

  1. Strange
    Member
    Posted 7 years ago #

    I am building a site offline using WP. It has many images, and although I enter their URLs (ie in the image dialog when posting) in relative form, eg /photos/..., when I revisit the dialog the URL has been converted to an absolute form, eg http://localhost/wordpress/photos/....

    When I relocate my site to a hosting service, am I going to have to edit all these links? Ditto if I ever change hosting services?

  2. Strange
    Member
    Posted 7 years ago #

    For /photos/... read photos/... !

  3. pizdin_dim
    Member
    Posted 7 years ago #

    If you keep the same structure that you've got on localhost, then no.

  4. Strange
    Member
    Posted 7 years ago #

    Phew! Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic