localhost works but not live site (3 posts)

  1. Anonymous
    Posted 11 years ago #

    Hi all,
    I was able to get wordpress up and running on my server. Unfortunately, the live site does not appear to be functioning since the CSS is not being read and when attempting to login from index.php, instead of going to the main url, the page is instead directed to http://localhost/wp-login.php, where the page cannot be found.
    My wp-config.php file lists 'localhost' as the host. Should this be changed to say 'www.domain.com'? Where is the siteurl set?

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    'localhost' is probably correct.
    'site_url' and 'home' values are in 'wp_options' in the database.

  3. Anonymous
    Posted 11 years ago #

    that did the trick! I just updated the site_url in the database to be http://www.domain.com.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.