Make All Links Relative (3 posts)

  1. vtwilight
    Posted 5 years ago #

    I'm debugging a wordpress application locally @ localhost.

    However, all the links go to http://blogsite.com/link

    I'd like them to go to http://localhost/link

    I don't really want to go and edit my hosts file.
    Would it be possible to support this in WordPress?

  2. rgbk
    Posted 5 years ago #

    Anyone know how to do this?
    I have the same idea.

  3. As relative links are relative (which is to say YOUR relative links aren't the same as MINE), no. Not right now.

    You can search and replace in your database though.

Topic Closed

This topic has been closed to new replies.

About this Topic