• I’ve just migrated a site from development to the live URL. The site works fine but I can’t access the dashboard. During the migration, I updated the URLs in the database with Search-Replace-DB-master by interconnect/it and have confirmed that the only instances of the old URL are in the wp_options table (renamed to lis_options with iThemes Security) for FTP and Backup Buddy which is not being used.

    I have tried adding these lines to functions.php temporarily, no help:
    update_option('siteurl','https://longinsurance.biz');
    update_option('home','https://longinsurance.biz');

    I have also temporarily added these lines to wp-config.php, no help either:
    define('WP_HOME','https://www.yourdomain.com')
    define('WP_SITEURL','https://www.yourdomain.com');

    I have tried commenting out the redirect for lis-login in .htaccess, no help.

    Can someone please make another suggestion?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter heinelg

    (@heinelg)

    Correction: wp-config.php actually changed to:
    define('WP_HOME','https://longinsurance.biz')
    define('WP_SITEURL','https://longinsurance.biz');

    Thread Starter heinelg

    (@heinelg)

    I’ve tried a few things that didn’t work but what did was rename the plugins folder with File Manager, create a new plugins folder, and moved the installed plugins one at a time back to the plugins folder, testing the dashboard login each time. When only iThemes Security was left, I deleted the renamed folder and reinstalled and configured iThemes Security. Don’t know the source of the problem – maybe the database got corrupted somehow, because my oldest recent backup from March 15 had the same problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin/dashboard not accessible after site migration’ is closed to new replies.