Support » Installing WordPress » Moved wordpress redirects to old site

  • I recently moved servers and would like to set up the new site before I switch over my domain name. Since I’ve installed wp on the new server my dedicated ip has been redirected to my domain name. I found that I should use phpmyadmin to fix this but I don’t have it installed on my server and am a novice. Is there another way to fix this? is there a specific .php file i can edit on my server that will have the same result?
    many thanks!

Viewing 1 replies (of 1 total)
  • Assuming you’re using WordPress 2.2 or newer, you can specify your site’s address in the wp-config.php file, like so:

    define('WP_HOME', '');
    define('WP_SITEURL', '');

    WP_HOME is the path to your home page, and WP_SITEURL is the path to the directory WordPress is installed in.

Viewing 1 replies (of 1 total)
  • The topic ‘Moved wordpress redirects to old site’ is closed to new replies.