Forums

[resolved] URL & permalinks after domain pointing (2 posts)

  1. CWFNC
    Member
    Posted 4 months ago #

    I developed a new WordPress site to replace a site hosted elsewhere. To develop the site I used the IP address on the NEW hosting service (ie, http://domainname.org.vhosts2.host.com). When we were ready to point the final domain name http://domainname.org to the WordPress site, we simply pointed it through the hosting service interface to the new server.

    The new site shows up fine at http://domainname.org, but I am unable to edit the URL settings in General settings (they are gray), so they still display http://domainname.org.vhosts2.host.com, and my posts and pages are still at this address (I had already set up permalinks). I have read the methods to Change the Site Url at http://codex.wordpress.org/Changing_The_Site_URL and the section about updating the .htaccess file to fix permalinks, but can you help me figure out what combination of these steps is appropriate in my situation? Thank you!

  2. CWFNC
    Member
    Posted 4 months ago #

    I figured out what the problem was. I had tried the first method under http://codex.wordpress.org/Changing_The_Site_URL (adding 2 lines to the wp-config.php file) and it was unsuccessful. Then I remembered/noticed that when we first set up the IP address as the temporary location so I could build the site, we had ALREADY hardwired THAT address (http://domainname.org.vhosts2.host.com) into the wp-config.php file. All I had to do was comment out those lines and I was able to change the url through the dashboard!

Reply

You must log in to post.

About this Topic