Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter blakfeld

    (@blakfeld)

    Hmm, unfortunately thats the documentation I was talking about above

    The first method in there has the site working, which is to use the defines, but like I said in my last post, the functions.php method listed in the documentation results in the page being inaccessible. Any idea why the functions.php method is failing for me?

    Does WordPress have a url rewrite that happens anywhere? Is it a problem with the vHost perhaps? Although ours was basically copied and pasted from the included docs

    Thread Starter blakfeld

    (@blakfeld)

    What’s the functions.php method?

    I tried
    update_option(‘siteurl’,’hostname/domainname’);
    update_option(‘home’,’hostname/domainname’);
    As is listed in the documentation, but that made the site unreachable

    Thread Starter blakfeld

    (@blakfeld)

    Those are grayed out, but in the config-domainname.php I have

    define(‘WP_HOME’, ‘http://’.$_SERVER[‘HTTP_HOST’]);
    define(‘WP_SITEURL’, ‘http://’.$SERVER[‘HTTP_HOST’]);

    Before I added that, they both had the hostname in them. Changing “Site URL” caused everything to become unreachable, and changing “Home” did nothing

    Thread Starter blakfeld

    (@blakfeld)

    Well, I think I described the problem poorly now that I think about it

    wordpress.ourserver.blah is just the server hostname. So if I access the site via the server’s hostname it works (If I try to go to just the ip address, it yells at me about not having a wp-config with that name, but that makes sense), but not by the actual domain name. Do I need to change it so the server’s host name matches what the domain needs to be?

Viewing 4 replies - 1 through 4 (of 4 total)