Support » Fixing WordPress » [bug?] False ‘siteurl’ upon install behind proxy

Viewing 5 replies - 1 through 5 (of 5 total)
  • moshu


    There is nothing “advancved” – it’s a simple How-To question.
    The two URI values in admin > Options > General MUST point to the real physical location of the blog.



    Sorry!!! The tone of your first sentence fills me with guilt – I’m only trying to help.

    Now my point was that “I can’t login to the admin” with the std 5-min install procedure under this behind-proxy configuration. So I don’t see how I could have reset these URI (which by the way I didn’t set in the first place either). Hence my assumption this might be a small ‘bug’ in the setup-script. Does this make any sense?



    The two values in wp_options (i.e. site_url and home) must reflect your real install location.
    WP is “reluctant” to collaborate with any kind of tricky redirect attempts or not straightforward installations.
    That’s all.

    Install it where you (will) use it – and there are no problems.



    As explained, I’m preparing a new version of a site, so I can’t change the official dns entry, I must work under this configuration. (this is std practice in the web-dev community, nothing “tricky”)

    Now changing the two URL in admin > Options > General didn’t solve the problem. So changing manually in the db is necessary to gain access to the admin, but isn’t enough to view the blog properly (it is rendered, but all url in the site are wrong). Changing the “Blog address (URL)” in the Options makes things worse, as the blog no longer is visible (error page).

    Definitive workaround:
    You can trick your browser by adding an entry to your /etc/hosts file (for those who don’t know how to do that, just add a line containing: where is the ip of your proxy/hosting) This solves all problems whilst working on a site behind a proxy.

    Misc: I was using Firefox and its manual proxy configuration. No idea where this problem is coming from (FF or proxy conf or wordpress).

    Hope this helps. Peace.

    I changed the site URL in the admin page. Now I cant get back in to change. How can I fix the problem?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[bug?] False ‘siteurl’ upon install behind proxy’ is closed to new replies.