• Resolved WrdprsKN

    (@wrdprskn)


    I am trasferring a WordPress site with a Xenforo forum from a conventional hosting server to Amazon Web Services. I have the basic parts done. I’ve created new databases on the Amazon instance, transferred the files and databases from the old server, and put the new database info into the config file. I’ve also made some adjustments to the database by running the following SQL queries:

    UPDATE wp_options SET option_value = replace(option_value, ‘https://yourdomain’, ‘https://your-elastic-ip’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;

    UPDATE wp_posts SET guid = replace(guid, ‘https://yourdomain’,’https://your-elastic-ip’);

    UPDATE wp_posts SET post_content = replace(post_content, ‘https://yourdomain’, ‘https://your-elastic-ip’);

    I ran the SQL queries because I want to make sure the site is working correctly on the new server before making DNS changes. Most parts of the site are working. However, I am having a few problems.

    First and foremost, I am unable to login to the WordPress Dashboard. Whenever I add /wp-admin to the URL, it redirects to my live site on the old server. What can I do to get into the Dashboard on the new server?

    Thank you.

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

    On shared hosting it is sometimes not possible to access any site via the IP address. One solution there is utilize a second domain instead of IP address. It could be just a subdomain of the first. If most parts of the site are working, this likely is not your problem.

    Other, I would make sure to clear browser cache, and clear browser cookies.

    And disable any caching plugins removing the folder and files via ftp. Even then the plugins may have caching in effect and it may be difficult to clear that without dashboard access.

    Good Luck

    Thread Starter WrdprsKN

    (@wrdprskn)

    Thanks for the reply. It turned out it was something relating to the .htaccess file. I’ve got it fixed now, so I’m marking this topic as resolved.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't Login to Dashboard’ is closed to new replies.