- User ID
- 1
- Joined
- 7 Jan 2019
- Messages
- 1,416
- Reaction score
- 97
- Points
- 48
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.

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.

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:
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:
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.

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.

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:
PHP:
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:
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.