Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • arhak

    (@arhak)

    PS: mind your .htaccess as well

    arhak

    (@arhak)

    PS: mind your .htaccess as well

    arhak

    (@arhak)

    your DB is ok

    your problem is that WP expects to be at localhost/wordpress
    when you access it by its VHost DNS or by its IP it breaks styles and JavaScripts, try accessing it by localhost and you’ll see

    then, you must decide how would you prefer to access it, and if different from localhost (which should be the current one working) then you should read http://codex.ww.wp.xz.cn/Changing_The_Site_URL

    if your solution isn’t there, then I recommend you to consider investigating the following (which would not go for the VHost unless you also use a subdirectory there)

    The following goes in the wp-config.php, near the end of it
    and intends to make the site available either by its IP (either IP it might be reached at) as well as localhost, or any DNS/VirtualHost, as long as it resides under the same directory (root or subdirectory) for all of them

    define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/wordpress');
    define('WP_HOME', WP_SITEURL);
Viewing 3 replies - 1 through 3 (of 3 total)