Quick Fix for WordPress Admin Redirect Loop: Regain Dashboard Access Effectively


Creative Team
User ID
7 Jan 2019
Reaction score
Experience an all-too-common glitch with your WordPress site? The admin redirect loop can be a real headache, but with the right know-how, it's an easy fix. Let's dive into a quick and efficient solution to get you back on track.

Screenshot 2024-01-26 at 8.43.21 AM.png

When updating your WordPress settings, a misstep can send you into an endless redirect loop within the wp-admin area. This typically happens when you switch your site to HTTPS but the settings within WordPress don't fully transition.

Screenshot 2024-01-26 at 8.50.01 AM.png

The remedy lies within a single line of code in your wp-config.php file. By adding the following directive, you inform WordPress to keep its cool and not force the SSL on the admin pages, thus breaking the loop:

define('FORCE_SSL_ADMIN', false);

Inscribe this code snippet above the 'That's all, stop editing!' line in your wp-config.php. It's a simple fix, but it's powerful enough to stop the redirect loop in its tracks.

My recommendation is to add the line as shown in the example below:

Screenshot 2024-01-26 at 8.46.25 AM.png

With this adjustment, you can regain access to your WordPress dashboard without the frustration of being redirected repeatedly. It's a quick fix that saves time and stress, allowing you to focus on what's important – managing and growing your WordPress site.

Remember, a smooth-running WordPress site improves user experience, retains visitors, and ultimately boosts your SEO rankings.
 Short URL: