• Alrighty, well I’ve been at this for over a week now with the hosting company. In short, we switched from A.com to B.com in myPHPAdmin (wp_users), functions.php, and wp-config.php. The site is working, however I can’t login to the wp-admin section. I tried switching back and using the correct WP Documentation to switch, didn’t work.

    Here’s the question: what steps would you take to change the database so I can login into wp-admin? Going back to the previous URL then to the new URL, is that possible?

    THANK YOU!! 🙂

Viewing 1 replies (of 1 total)
  • Hi chucknyi,

    These would be the steps I would take to change URL’s when switching domain names.

    1. Backup the database and files

    2. Go to wp_options and change the following
    – the option siteurl and home to the new URL of your site

    3. Check the htaccess file and make sure it’s ok.

    For an example you might need to change the RewriteBase to / if the previous domain was was http://www.a.com/mywebsite

    4. You should now be able to login at the wp-admin URL

    5. Go to settings -> permalinks and click update. This will update flush the rewrite rules and will make sure all the URL’s work properly

    Please leave me know if you need any more help or if you have any questions about the above.

    Colin

Viewing 1 replies (of 1 total)

The topic ‘Changed to New URL’ is closed to new replies.