• I have a single wwordpress installation at an ip address which I now need to change to the finished domain name.

    I know I need to point the domain to the Ip and then change on the wordpress side. The simplest seems to be changing wp-config going by this support article.
    http://codex.wordpress.org/Changing_The_Site_URL

    by adding this to wp-config

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    Does my domain name go into both fields above or does wp-home become the domain , and then the site url is my existing ip address?
    or do I change both fields to the domain name?

    Any info appreciated. Never done this bit before/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Don’t use the define, it’s a temporary fix.

    Once the DNS is setup for the finished domain then just update the Site URL and the WordPress Address in your WordPress dashboard.

    Thread Starter deeptek

    (@deeptek)

    So both get the domain name, once the DNS is pointing there? thanks Jan!

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

The topic ‘Changing Ip to url – wp-config’ is closed to new replies.