WordPress.org

Ready to get started?Download WordPress

Forums

disabling URL rewrite (2 posts)

  1. saabi
    Member
    Posted 6 years ago #

    Hi,

    I'm managing a WP based blog remotely. I'm reaching the server with ssh and I've tunneled the http over ssh. Therefore I'm using this URL in my browser: http://localhost:8080
    Unforntunately, the WP rewrites it to it's base address and my browser cannot reach the blog.
    Currently I cannot reach the blog with browser but I have a command line interface. How can I tell to WP to doesn't care about hostname just use what get in the URL?

    Thanks for any help!

    Ave, Saabi.

  2. Anonymous
    Unregistered
    Posted 6 years ago #

    I have the same problem. I setup a website through an ssh tunnel, and when I am on the intranet, all the links are broken because they all say http://localhost:8080 instead of the routable internal name.

    I don't think it has to do with URL rewrite, I think WordPress records the http://localhost:8080 as the server name and sends it out when it responds to http requests for page. Maybe there is a reason for behaving this way, but this problem does not happen with anything else I have setup through the ssh tunnel: drupal, mediawiki, homegrown webpages, etc.

Topic Closed

This topic has been closed to new replies.

About this Topic