• Resolved terryscott2

    (@terryscott2)


    Hi there, I have moved the site to a new server and the site works, but I cannot access the admin at all.
    I am OK disabling the plugin if needed, I just need to access the admin panel to do updates before I launch it, any help much appreciated, thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Maya

    (@tdgu)

    Hi,
    You can try to manually disable the rewrites that block the default login URLs. First, create a backup of .htaccess file, then edit and search for the followings:

    RewriteCond %{ENV:REDIRECT_STATUS} ^$
    RewriteRule ^wp-login.php /index.php?wph-throw-404 [L]

    Remove or place a # in front of the lines.

    The same for the followings:

    RewriteCond %{ENV:REDIRECT_STATUS} ^$
    RewriteRule ^wp-admin(.+) /index.php?wph-throw-404 [L]

    At this point you should be able to access the default WordPress login urls. Once logged-in, go to your Settings > Permalinks -> Save once to re-create the entries.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Moved server cant access admin’ is closed to new replies.