Forums

[resolved] New Domain name, can't log in (2 posts)

  1. rovinggirl
    Member
    Posted 2 years ago #

    Late yesterday, I changed domain names. I updated per the instructions on "Changing the Site URL," but when I go to

    http://modernconcretesurfaces.net/wp-login.php and enter my usual login, I can't log in and I'm redirected to the .com domain.

    What else do I need to do to facilitate this?

  2. jasonhuynh
    Member
    Posted 2 years ago #

    Hello,

    Do you have access to the mysql database that your blog is using? If so, make sure that your site and home url's are set properly. You can run this following query directly on mysql or through phpmyadmin:

    update wp_options set option_value = ‘http://modernconcretesurfaces.net’ where option_name = ‘home’ or option_name = ’siteurl’;

    you'll then see this:
    Query OK, 2 rows affected (0.04 sec)
    Rows matched: 2 Changed: 2 Warnings: 0

    then run this command:
    flush privileges;

    The command above will set your home and site url's to http://modernconcretesurfaces.net in contrary to the .com domain, which should in turn clear the redirection issue when you attempt to log-in.

    If you do not have access to your mysql database, you can ask your hosting provider to ensure that your home and site urls are set appropriately. Hope this is helpful.

    [signature moderated Please read the Forum Rules]

Topic Closed

This topic has been closed to new replies.

About this Topic