• Resolved MBWD

    (@mbwd)


    The website in question is http://www.empsolutions.ca.

    Was running fine up until a few hours ago, when users trying to access /wp-admin are redirected to the 401 Authorization required page. The site itself is running fine and the email servers are running fine.

    Here’s what I’ve tried:

    Read through the WP codex page on WP Login Trouble and tried all relevant solutions
    Disabled Wordfence plugin
    Disabled all plugins
    Deleted old wp-login.php and uploaded fresh copy
    Created new user in database (no use since can’t even get to login screen)
    Spoken to hosting provider to determine no IPs of mine were blocked
    Deleted .htaccess file
    Renamed child theme

    None of these things have worked… grateful for any suggestions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    try a few basic troubleshooting steps:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches.
    – deactivating ALL plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). When you can’t get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application provided by your hosting provider (cPanel…). Also remember to deactivate any plugins in the mu-plugins folder (If you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – If that does not resolve the issue, try switching to the unedited default Twenty Fifteen Theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). When you don’t have access to your admin area, use FTP or SFTP or whatever file management application your host provides. Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    – If that does not resolve the issue, try resetting the plugins foldervia FTP or SFTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter MBWD

    (@mbwd)

    Thanks for your response. It turns out the error was related to my hosting provider’s use of the Cloudflare CDN.

    Moderator t-p

    (@t-p)

    glad you got it sorted 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘401 error – authorization required’ is closed to new replies.