Written by 5:38 am Beginner’s Guide, Troubleshooting Common Issues Views: 0

Why Your WordPress Login Page Shows a Blank Screen (And How to Get Back In)

Your WordPress login page is showing a blank white screen. This guide covers 7 specific fixes to get back into wp-admin without deleting anything, including disabling plugins via FTP, resetting .htaccess, clearing browser cache, and checking for a hidden custom login URL.

WordPress login page shows a blank white screen - 7 fixes to get back into wp-admin without admin access

You go to your WordPress login page and see nothing. Not a form, not an error, just a white screen. You cannot log in, cannot access wp-admin, and have no idea what broke. This guide gives you seven specific fixes for a blank WordPress login screen, all done without admin access and without deleting a single file.

The login white screen is a specific variant of the WordPress White Screen of Death. What makes it frustrating is that your front-end may still work fine, giving the false impression nothing is wrong. The good news: the causes are well-known and every fix below is reversible. Start with Step 1 and work through them in order – most people fix this within the first three steps.


Why the WordPress Login Page Goes Blank

The login page (/wp-login.php) loads a small subset of WordPress. It does not load your theme, but it does load any plugins that hook into login_init, init, or the authentication process. A blank login screen is almost always caused by one of these:

  • A plugin conflict – a plugin that hooks into the login process has a PHP error or conflict
  • A corrupted .htaccess file – a bad rewrite rule redirects or blocks the login URL
  • Browser cache or session cookie conflict – your browser is replaying a broken session
  • Theme functions.php error – if a theme loads functions on the login page, a PHP error kills it
  • WordPress core file corruption – rare, but a broken wp-login.php or wp-includes file can cause a blank page

Step 1: Try a Different Browser or Private Window

Before touching any files, rule out your browser. A stale session cookie or corrupted browser cache can cause the login page to appear blank only for you.

  1. Open a private/incognito window (Ctrl+Shift+N on Chrome, Ctrl+Shift+P on Firefox)
  2. Go to https://yourdomain.com/wp-login.php
  3. If the login form appears, your browser had a caching or session issue

To fix the browser cache in your regular window:

  • Chrome: Settings > Privacy and security > Clear browsing data > Cached images and files + Cookies
  • Firefox: Settings > Privacy and Security > Clear Data
  • Safari: Develop > Empty Caches (enable Develop menu in Safari > Preferences > Advanced first)

Also clear any WordPress cookies specifically. In Chrome DevTools (F12), go to Application > Cookies and delete all cookies for your domain.


Step 2: Disable All Plugins via FTP

This is the most common fix. A plugin that hooks into the WordPress login process can throw a PHP error that blanks the entire login page.

  1. Connect to your site via FTP (FileZilla) or open cPanel File Manager
  2. Navigate to wp-content/
  3. Rename the plugins folder to plugins-disabled
  4. Go to https://yourdomain.com/wp-login.php

If the login page appears, a plugin was the cause. Rename plugins-disabled back to plugins, then log in. Go to Plugins > Installed Plugins, deactivate all plugins, then reactivate them one by one until the blank login page returns. The last plugin you activated is the problem.

Common culprits include security plugins (Wordfence, iThemes Security), login customization plugins, and two-factor authentication plugins. Check these first.


Step 3: Reset the .htaccess File

A malformed .htaccess rule can redirect or block /wp-login.php requests, causing a blank response.

  1. In FTP or File Manager, navigate to your WordPress root directory
  2. Find .htaccess (enable “show hidden files” if you do not see it)
  3. Rename it to .htaccess-backup
  4. Create a new .htaccess file with the default WordPress rules:
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Try the login page again. If it loads, your old .htaccess had a rule blocking the login URL. This sometimes happens after installing a security plugin that adds custom login URL rules, or after manually editing the file.


Step 4: Switch to a Default Theme

Some themes load code on the login page via functions.php hooks. If there is a PHP error in functions.php, it can blank the login page.

Option A: Via FTP

  1. Navigate to wp-content/themes/
  2. Rename your active theme folder (e.g. mytheme to mytheme-disabled)
  3. WordPress falls back to a default theme automatically
  4. Try the login page

Option B: Via phpMyAdmin

  1. Open phpMyAdmin from cPanel
  2. Select your WordPress database
  3. Click the wp_options table
  4. Find the row where option_name is stylesheet and change its value to twentytwentyfour
  5. Find template and change it to twentytwentyfour as well
  6. Try the login page

Step 5: Enable Debug Mode to Read the Error

If none of the above fixes work, turn on WordPress debug mode to capture the exact PHP error.

  1. Open wp-config.php in FTP or File Manager
  2. Find define( 'WP_DEBUG', false );
  3. Replace it with:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Save, then reload /wp-login.php. Now open wp-content/debug.log. The PHP fatal error will be logged there with the exact file and line number. Use that to target the fix.

Common errors you may find in the log:

  • Call to undefined function – a plugin function is missing, usually from a dependency that is inactive
  • Cannot redeclare – two plugins define the same function name
  • syntax error – a bad edit in functions.php or wp-config.php broke PHP parsing
  • Allowed memory size exhausted – increase your PHP memory limit (add define( 'WP_MEMORY_LIMIT', '256M' ); to wp-config.php)

Step 6: Check for WordPress Core File Corruption

If all other fixes fail, the login file itself (wp-login.php) or a core include it uses may be corrupted.

  1. Download a fresh copy of WordPress from wordpress.org/download (same version as your site)
  2. Unzip it on your computer
  3. Upload wp-login.php from the fresh copy to your site root via FTP, overwriting the existing file
  4. Also upload the wp-includes/ folder, overwriting the existing contents

This replaces only core files. Your wp-content/ folder (themes, plugins, uploads) is not touched. Your database is not touched.

You can also do this from wp-admin if you can access a different admin account: Dashboard > Updates > Re-install version X.X. WordPress handles the file replacement automatically and safely.


Step 7: Check for a Custom Login URL

Some security plugins change your login URL from /wp-login.php to a custom slug (e.g. /my-login or /secure-access). If the plugin that set this up was deactivated or corrupted, going to the original /wp-login.php may return a blank screen.

Check your WordPress database for the custom login URL:

  1. Open phpMyAdmin from cPanel
  2. Select your WordPress database
  3. Click SQL and run: SELECT * FROM wp_options WHERE option_name LIKE '%login%';
  4. Look for option names like wps_hide_login, ithemes_login_url, or similar
  5. The value will show your current custom login URL

Try navigating to that custom URL. If you get the login form, that security plugin is still active. You can deactivate the plugin via FTP (rename its folder) to restore the default /wp-login.php.


Special Cases: Multisite and WooCommerce Login Screens

If you are running WordPress Multisite, network-level plugins activated in the Network Admin can cause login blanks across all sites simultaneously. When troubleshooting a multisite login blank screen, disable network-activated plugins first by navigating to wp-content/mu-plugins/ and temporarily renaming any custom mu-plugin files there.

For WooCommerce sites, the blank login page may appear specifically on the /my-account page login form rather than on /wp-login.php. If /wp-login.php works fine but the WooCommerce login is blank, the issue is in your theme’s WooCommerce template override or a WooCommerce extension. Check wp-content/themes/your-theme/woocommerce/myaccount/form-login.php for syntax errors, or temporarily switch to a default theme to confirm.

For users running membership plugins (MemberPress, Restrict Content Pro, Ultimate Member), the plugin may redirect all login attempts to a custom login page. If that custom page URL breaks, all login attempts return blank. Check the plugin settings in your database (wp_options table, search for the plugin prefix) to find the custom login page ID, then restore that page from a backup or create a new one.


Quick Checklist: WordPress Login White Screen Fixes

FixWhat it addressesTime needed
Try incognito browserBrowser cache / session cookie1 minute
Rename plugins folder via FTPPlugin conflict on login page3 minutes
Reset .htaccessBad redirect or rewrite rule2 minutes
Switch theme via phpMyAdminfunctions.php PHP error5 minutes
Enable WP_DEBUG, read debug.logAny PHP fatal error5 minutes
Reinstall wp-login.php and wp-includesCore file corruption5 minutes
Check for custom login URL in DBHidden login change from security plugin3 minutes

Preventing a Blank Login Screen in the Future

A few practices prevent this from happening again:

  • Test login after every plugin update – especially security plugins, login page customizers, and 2FA plugins. Open a private window and verify the login form loads before closing your current session.
  • Keep a backup admin user – create a second admin account with a different email. If your main account gets locked out, you have a fallback.
  • Use a staging site – apply updates there first before pushing to production.
  • Record your custom login URL – if you use a security plugin to hide the login URL, save it in a password manager so you always know where it is.

For broader troubleshooting, the 10 Most Common WordPress Errors guide covers the full range of WordPress errors you may encounter, including database connection errors, 500 errors, and white screens on specific pages. If your entire site is blank (not just the login page), see the complete WordPress White Screen of Death fix guide for a full step-by-step process.


Frequently Asked Questions

Will fixing the login white screen affect my site’s content?

No. Every fix in this guide touches only PHP configuration files, plugin folders, and the .htaccess file. Your posts, pages, images, and database records are untouched. The database is only read (via phpMyAdmin) in Steps 4 and 7 – you are only changing the active theme name or reading the login URL, not deleting any content.

My login page shows a blank screen but the front end is fine. Is that normal?

Yes. The login page loads independently from the rest of your site. A plugin or configuration issue that specifically affects the login process can blank only that page, leaving the rest of the site unaffected. This is why the plugin-via-FTP fix is the first real step to try.

I cannot access FTP. What can I do?

Most web hosts provide a browser-based file manager through cPanel or Plesk. Log in to your hosting account and look for “File Manager.” It lets you browse, rename, and edit files without FTP software. If you are on managed WordPress hosting (WP Engine, Kinsta, Flywheel), use their support chat directly – they can run the file-level fixes for you.

The login page showed a form briefly then went blank. What does that mean?

This usually means a redirect loop. After submitting credentials (or even before), a redirect rule is sending you to a URL that results in a blank page. The .htaccess reset (Step 3) and the custom login URL check (Step 7) are the most likely fixes for this symptom.

Can a WordPress update cause the login page to go blank?

Yes, though it is not common. A major WordPress core update can introduce a compatibility break with certain security plugins or login-related plugins. If the blank login screen appeared immediately after a core update, the fastest fix is to deactivate all plugins via FTP (Step 2), which takes under two minutes. Once you are back in, update your plugins to their latest versions to restore compatibility with the new WordPress version.


You’re Back In

A blank WordPress login page is fixable without reinstalling anything. Start with the browser cache, move to the plugins folder via FTP, then work through .htaccess and the theme. In most cases, one of the first three steps resolves it. Once you are back in, take a few minutes to set up a secondary admin account and confirm your backup plugin is running daily backups. A few minutes of setup now prevents hours of lockout frustration later.

Visited 1 times, 1 visit(s) today

Last modified: April 24, 2026

Close