DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
VGSources
Blog

WordPress Admin Panel Not Working? A Safe, Step-by-Step Fix for wp-admin

A practical, low-risk workflow for restoring wp-admin access: identify the exact symptom, use Recovery Mode, disable plugins or themes safely, test .htaccess, read logs, and know when your host must intervene.
Length10 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Start by recording exactly what fails—login loop, blank screen, 404, 500, critical-error notice, broken Save/Publish buttons, or a maintenance message—and whether the public site still loads. Then work from the least invasive test to the most technical: use Recovery Mode, disable plugins, test the theme, check .htaccess, enable temporary logging, and involve your host when the evidence points to the server.

Before changing anything, identify the failure

Do not begin by deleting files or repeatedly retrying the login. Write down the exact message, URL, and action that fails. A dashboard that displays a white page has a different likely cause from a dashboard that returns HTTP 404, and a working public site is an important clue.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Login loop: the login form reloads, redirects back to itself, or never reaches the dashboard.
  • Blank or white screen: PHP may have stopped before WordPress could render an error.
  • HTTP 404: a routing or rewrite problem is possible, particularly if the public site also has missing pages.
  • HTTP 500: a PHP fatal error, server rule, resource limit, or damaged file may be involved.
  • “There has been a critical error on this website”: WordPress detected a fatal PHP error and may have sent the administrator a Recovery Mode email.
  • Save or Publish does nothing: the dashboard may load while a plugin, theme script, REST request, authentication cookie, or server limit blocks the action.
  • Maintenance message: an interrupted update can leave WordPress in maintenance mode.

Also test the public site in a private browser window. If visitors can still browse normally, the fault may be limited to an administrator request, plugin, theme, or account session. If both the front end and wp-admin fail, treat the problem as potentially broader and preserve logs before making multiple changes.

Use WordPress Recovery Mode first

Recovery Mode is the safest first route when it is available. WordPress introduced the built-in feature in version 5.2. The official documentation says WordPress automatically activates it when it detects a fatal PHP error during a regular page load, rather than during CRON or another background task.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

When a fatal error triggers Recovery Mode, WordPress emails the site administrator a special login link. In that session, the suspected plugin or theme is paused, and the dashboard displays notices identifying the component that failed. The feature is session-scoped, so it does not permanently disable the component for every visitor.

  1. Check the administrator mailbox, including spam and filtering folders, for the Recovery Mode message.
  2. Open the special link in the same browser where you intend to administer the site. If the link has expired, request or trigger another normal page load and look for a newer message.
  3. Sign in through the link and read the notice carefully. Record the plugin, theme, file, and line information before dismissing anything.
  4. Deactivate, update, repair, or remove the identified component from the dashboard. If it is custom code, restore the last known-good version rather than editing randomly.
  5. Exit Recovery Mode, load the public site and dashboard normally, and test the original action again.

WordPress describes Recovery Mode as a built-in feature that can help regain access after a fatal error without FTP access or direct code editing. It cannot help when the failure occurs before a regular page load, when email delivery is unavailable, or when the server itself is down. Move to the filesystem and logging tests below if no message arrives.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Disable every plugin without opening wp-admin

A plugin conflict is one of the quickest causes to isolate because you can turn all plugins off in one reversible operation, then restore them one at a time. WordPress documents two methods.

Filesystem method: rename the plugins directory

This is usually the simpler option if you have FTP, SFTP, or a hosting file manager.

Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
  1. Make a backup or copy of the directory name and note the current path.
  2. Open the WordPress installation directory and locate wp-content/plugins.
  3. Rename plugins to a temporary name such as plugins.hold. Renaming is preferable to deleting because it is reversible.
  4. Try the login and the failing dashboard action again.
  5. If access returns, create a new empty plugins directory if WordPress has not already done so, rename the old directory back to plugins, and reactivate extensions individually.
  6. After each activation, reload the page and test the same action. The plugin activated immediately before the failure is the leading suspect; confirm by deactivating it and repeating the test.

Renaming the directory affects all plugins at once, so plugin-powered features may disappear temporarily on the public site. The change is reversible as soon as the original name is restored. Do not leave a second, confusingly named plugin directory in place after the diagnosis.

Database method: clear active plugins in phpMyAdmin

Use this method only if you understand the database or have host assistance.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open phpMyAdmin from the hosting control panel and select the database used by WordPress.
  2. Open the options table. Its prefix may not be wp_, so identify the table whose name ends in options.
  3. Find the row whose option name is active_plugins.
  4. Replace its value with the serialized empty array a:0:{} and save.
  5. Try wp-admin. If the dashboard works, reactivate plugins one at a time from the normal Plugins screen.

Back up the row or database before editing. A malformed serialized value can create a new error, and changing the wrong database will have no effect on the live site. If you cannot confidently identify the correct table, ask the host to perform the change.

Test the active theme and custom code

If disabling all plugins does not restore access, isolate the theme. A theme can contain PHP, block patterns, widgets, and custom integrations that fail before the dashboard renders.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
  1. Use FTP, SFTP, or the hosting file manager to open wp-content/themes.
  2. Identify the directory of the active theme. If you are unsure, the host or database administrator can confirm it.
  3. Rename that directory temporarily, for example by appending .hold.
  4. Reload the dashboard. WordPress should fall back to an available default theme.
  5. If access returns, inspect the theme’s recent changes, child-theme code, snippets, and custom functions. Restore the original directory name after making a backup, then repair or replace the faulty code.

A recovery after this test points toward theme or custom code rather than a generic WordPress login problem. Keep the default theme active while you verify the cause; switching back immediately can recreate the failure.

Check routing and .htaccess for 404 and 500 errors

On installations using Apache rewrite rules, a damaged or over-restrictive .htaccess file can block dashboard routes or produce server errors. Hidden files may not be shown by a file manager, so enable its “show hidden files” option first.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Locate .htaccess in the WordPress root directory.
  2. Download a backup or copy its contents into a safe text file.
  3. Rename the live file temporarily, for example to .htaccess.hold. Do not delete the only copy.
  4. Test the dashboard and the public site.
  5. If access returns, leave the renamed backup intact while you inspect recent rule changes. Once the dashboard works, open Settings > Permalinks and click Save Changes to let WordPress regenerate its rewrite rules.

This test is particularly useful when the symptom is a 404 or 500. It does not prove that every rule in the file is wrong; a hosting security rule, PHP configuration, or permission problem can produce similar symptoms. Restore the backup and involve the host if the site remains unavailable.

Turn on temporary diagnostic logging

When the visible message is only a blank page, 500 response, or generic critical error, logs provide evidence instead of guesses. WordPress support guidance recommends both its debug log and the server or PHP error log.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
  1. Back up wp-config.php before editing it.
  2. Insert these lines before the file’s “That’s all, stop editing” comment:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
  1. Reproduce the failure once. Use the same URL and action that originally failed so the relevant timestamp is easy to find.
  2. Inspect wp-content/debug.log and the host’s PHP or server error log. Look for the first fatal error, the file path, the plugin or theme name, and the timestamp.
  3. Use that evidence to repair or deactivate the named component. Do not treat every warning as the cause; start with the earliest fatal error in the request.
  4. After diagnosis, set WP_DEBUG and WP_DEBUG_LOG back to false or remove the temporary definitions. Raw errors should not be displayed to visitors on a production site.

Logging is especially valuable when the public site works but one administrator request fails, because the browser may show only a generic response while the server records the exact PHP file and line.

Match the symptom to the next test

Login loop or repeated redirect

  • Try a private window and clear cookies for the site to rule out a stale authentication session.
  • Disable all plugins using the directory rename. Security, caching, and login-customization plugins commonly alter authentication requests.
  • If the loop remains, test the theme and inspect server logs for redirect or cookie errors. Avoid changing the site URL in the database unless you have confirmed it is wrong and have a backup.

Blank or white screen

  • Use Recovery Mode if an email arrives.
  • Otherwise disable plugins, test the theme, and enable temporary logging.
  • Compare the timestamp in wp-content/debug.log with the PHP error log; the first fatal entry usually identifies the component.

HTTP 404 on the dashboard

  • Test the .htaccess rename and check that hidden files are visible.
  • If the dashboard returns, regenerate rewrite rules through Settings > Permalinks after restoring normal access.
  • If only one host or network path receives the 404, ask the host to inspect virtual-host routing and security rules.

HTTP 500

  • Record the exact request and time, then inspect PHP and server logs.
  • Use Recovery Mode, plugin deactivation, theme isolation, and the temporary .htaccess test in that order.
  • Ask the host to check PHP version compatibility, memory and execution limits, permissions, and web-server configuration when application-level tests do not change the response.

Critical-error notice

Look for the Recovery Mode email first. If the notice identifies a plugin or theme, repair that component instead of disabling unrelated software. If no email arrives, use the logs and the isolation steps; the fatal error may occur outside the type of request that activates Recovery Mode.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Save or Publish buttons fail

  • Open the browser’s network and console panels and note whether the failing request returns 403, 404, 500, or a timeout.
  • Test with all plugins disabled. If the action works, reactivate plugins individually, giving special attention to security, caching, editor, and optimization extensions.
  • Check the PHP and server logs at the exact time of the click. A request-size or execution limit requires host-level adjustment rather than repeated clicking.

Maintenance message that does not clear

An interrupted update can leave a maintenance marker in the WordPress root. Confirm that no update is still running, back up the site, and ask the host or an experienced administrator to remove the marker safely if you cannot access the filesystem. Do not delete arbitrary files from the root directory.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choose the least risky path

The following comparison helps decide what to try next. “Dashboard access” means the step can be completed from wp-admin; “diagnostic value” describes what the result isolates.

Best Value
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Method Dashboard access Public-site risk Reversibility Technical skill Diagnostic value
Recovery Mode Uses a special login session Low; the failing component is paused for that session Session-scoped Low Identifies a fatal plugin or theme when WordPress detects it during a regular page load
Rename wp-content/plugins Not required Plugin-powered features stop until restored Rename the directory back Basic filesystem access Separates plugin conflicts from other causes
Clear active_plugins in phpMyAdmin Not required All plugins deactivate until reactivated Restore the saved value or reactivate plugins Database familiarity or host help Confirms whether the active-plugin set causes the failure
Rename the active theme Not required The site falls back to an available default theme Rename the directory back Basic filesystem access Isolates theme and custom-code failures
Rename .htaccess Not required Rewrite-dependent URLs may fail temporarily Restore the backup Filesystem and hidden-file access Tests rewrite and access-rule problems, especially 404/500 responses
Enable debug logging Not required Keep raw errors off public pages Turn the constants off after testing Careful file editing Provides PHP and WordPress error details
Host escalation Not required Depends on the host’s intervention Managed by the host Lowest risk when server access is needed Strongest for permissions, limits, PHP configuration, server logs, and damaged core files

When to contact your hosting provider

Escalate instead of continuing trial-and-error when you need phpMyAdmin, cannot reach the filesystem, or the logs point outside WordPress. Ask the host to check:

  • PHP and web-server error logs for the failure timestamp.
  • File and directory ownership, permissions, and disk space.
  • PHP version compatibility, memory limits, execution time, and request-size limits.
  • Web-server routing, security rules, and blocked REST or administrator requests.
  • Whether a core-file damage or failed upgrade requires restoring verified WordPress files.

Give the host the exact URL, HTTP status, UTC or local timestamp, whether the public site works, the last change made, and the relevant log excerpt. Avoid sending passwords or unredacted configuration files. A managed WordPress support team or WordPress professional is appropriate when a database edit, filesystem repair, permissions change, or failed upgrade exceeds your experience.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Restore normal operation safely

  1. Keep a backup of the database and changed files until the cause is confirmed.
  2. Undo temporary names: restore plugins, the theme directory, and .htaccess only after testing each change deliberately.
  3. Reactivate plugins one at a time, testing login, dashboard navigation, the editor, and the public site after each activation.
  4. Confirm that the default or repaired theme renders key pages and that custom code is compatible with the site’s PHP and WordPress versions.
  5. Turn off debugging, clear any relevant cache, and test in a private browser window.
  6. Document the failing component, the log message, and the fix so a future update can be rolled back quickly.

The goal is not merely to make the login form appear once. A successful repair identifies the component or server condition that caused the failure, restores the intended configuration, and leaves you with a reversible backup and a repeatable diagnosis.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.