Did you effort to visit your website in Firefox only to be met by a message telling you that "The folio isn't redirecting properly"?

This error message is unique to the Mozilla Firefox web browser and indicates some problem with a redirect on your site. It could be due to several things, or just one. Nosotros'll assistance y'all effigy information technology out below.

In this post, yous'll learn how y'all can fix the "The page isn't redirecting properly" error bulletin for WordPress sites, Nginx servers, and PHP apps. The same steps can besides address situations where you might run into this message in Google Drive or on other websites that you're visiting.

Let'south go!

What Does "The Folio Isn't Redirecting Properly" Mean?

The "The folio isn't redirecting properly" error displays when Firefox gets stuck in an infinite redirection loop.

An example of the
An case of the "The folio isn't redirecting properly" error in Firefox.

For case, "Page 1" might redirect you lot to "Page 2", which might redirect yous back to "Page one,"… which would then redirect you direct back to "Page 2," so on in an space loop.

Instead of getting stuck in this redirect loop forever, Firefox volition surrender and tell you that "The page isn't redirecting properly."

This issue can appear on pretty much any site. You lot might encounter it on Google Drive or YouTube in some situations. Or, if yous're a WordPress webmaster, you might see it when you endeavor to access your WordPress website.

If y'all as well employ the Chrome web browser, you might've experienced this same result, but with a unlike proper noun: ERR_TOO_MANY_REDIRECTS. We take a whole post on how to fix the ERR_TOO_MANY_REDIRECTS fault, and all of the tips in that postal service will also apply to Firefox'southward "The page isn't redirecting properly" fault considering information technology's the same primal problem.

If y'all use Mozilla Firefox, you lot may have seen this bulletin. 👀 Luckily, the solution is just a click away ⬇️ Click to Tweet

Why the "The Page Isn't Redirecting Properly" Message Occurs

The root crusade of this error bulletin is always some redirect misconfiguration on the site where you're having issues.

Yet, there can be many different causes of that misconfiguration, making information technology a bit catchy to hunt downward the problem.

Over the remainder of this post, nosotros'll share some tips and tactics you can apply to diagnose and fix what's causing the mistake.

Try These Fixes First

In a moment, we're going to share specific troubleshooting steps for fixing this error message on WordPress sites, Nginx, and PHP.

Withal, earlier y'all movement to those steps, or if you're having issues with a website that you lot don't control (such equally Google Drive or YouTube), we recommend performing these two bones troubleshooting steps first.

Performing these 2 steps will automatically ready a lot of these redirect problems. If these methods don't set the problem, you lot can continue to the more specific fixes. Merely if these tips do get things working again, yous'll accept saved yourself a lot of time and frustration.

1. Clear Your Browser Enshroud

The starting time action you should accept when encountering pretty much any error is to clear your Firefox browser enshroud.

Firefox (and all other browsers) will store a website's static files on your local reckoner in a enshroud to improve performance. That manner, Firefox tin can load these resources straight from your computer instead of re-downloading them on every new folio load.

However, if these files are out of date for some reason, that tin trigger many different errors, including the "The page isn't redirecting properly" error. By clearing your cache, you lot'll force Firefox to re-download new versions of the files, which can frequently prepare the problem.

Offset, enter the following text in your browser'due south navigation bar to open up the privacy settings:

near:preferences#privacy

Or, yous can manually open this area past post-obit these instructions:

  1. Click the hamburger icon in the top-right corner.
  2. Select Options from the dropdown to open the settings area.
  3. Go to the Privacy & Security tab.

In the Privacy & Security area, find the Cookies and Site Data section and click the Clear Data button:

Accessing the Firefox browser cache data and clicking the "Clear Data" button.
Access the Firefox browser cache data and click the "Clear Information" button.

In the popup that appears, select the Cached Web Content selection and and so click Clear:

Clearing the Firefox browser cache.
Clearing the Firefox browser cache.

At present, reload the page you're having issues with and run across if it'southward working. If it's non, continue to the next stride.

two. Clear Cookies for the Site With Problems

Another common cause of the "The page isn't redirecting properly" message is an issue with the site's cookies.

Like with browser cache, the solution is to clear your browser cookies for the site in question.

To avoid logging yourself out of every site yous visit, you'll only want to articulate cookies for the specific domain where you lot're experiencing issues. In that location'south no problem with removing all of your cookies — it's merely a pain to take to log in to every site again, which is why it'due south probably amend to go with the targeted approach.

To perform this targeted deletion, go back to the Cookies and Site Data settings (simply similar you did for the browser cache), simply this time, click the Manage Data push button:

Searching cookies for individual sites through the "Manage Data" button.
Searching cookies for individual sites through the "Manage Data" push button.

In the popup:

  1. Search for the domain proper noun of the site that you're having issues with.
  2. Select information technology from the list.
  3. Click Remove Selected.
How to clear the cookies of a single site with the "Remove Selected" button.
Clearing the cookies of a single site with the "Remove Selected" button.

In the confirmation prompt that appears, click Remove again:

How to confirm that you want to clear cookies for the selected site.
Ostend that you want to clear cookies for the selected site.

Then, reload the page and see if information technology's working again. Note that if the site requires a username/password, you lot'll need to log in again.

If neither of these tips stock-still the trouble, you could continue reading for some more than targeted solutions.

How To Fix "The Folio Isn't Redirecting Properly" in WordPress

If you see the "The page isn't redirecting properly" bulletin on your WordPress site, and the two troubleshooting steps in a higher place didn't set up the problem, you might demand to dig into some WordPress-specific fixes.

Equally we mentioned higher up, the error results from some redirect issue on your site. On WordPress, this redirect problem could come from any of these:

  • WordPress settings (especially if you recently migrated a site or changed a critical setting)
  • Plugins
  • SSL certificates or HTTPS configuration
  • Cloudflare SSL configuration
  • Server redirects

To help you determine where you should start troubleshooting, y'all tin can use a redirect checker tool similar httpstatus.io to clarify what'south happening in your redirect loop. Just enter the URL of the site yous're having problems with, and the tool will suspension down the redirect chain past each footstep.

For example, if y'all meet that your site is redirecting back and along between the HTTP and HTTPS versions of the site, that's a pretty expert sign that the trouble has something to do with HTTPS or SSL usage on your site, so you should start your troubleshooting there.

If you don't come across any pattern, y'all tin can move through the beneath troubleshooting steps in order.

Check Your HTTPS Settings

Your site's HTTPS settings can exist a mutual source of redirect misconfigurations. At that place are a few potential problems here:

Subscribe Now

  • Forcing HTTPS without installing an SSL certificate: If yous effort to force HTTPS usage without installing an SSL certificate, information technology will trigger this error. If yous're hosting at Kinsta, we've written a guide on using SSL certificates. Otherwise, consult your host'southward support for help.
  • Using an SSL plugin: Whenever possible, we recommend updating your hard-coded links to use HTTPS instead of using an SSL plugin similar Really Simple SSL. You tin do this past running a search and supplant on your site's database. If y'all're a Kinsta customer, reach out to support, and nosotros tin can exercise this for y'all.
  • Having a misconfigured HTTP to HTTPS redirect: Force-redirecting all HTTP traffic to HTTPS is skillful, simply you'll want to make sure you lot've correctly set up the redirect.

Check Cloudflare SSL Settings

If y'all've configured your WordPress site to use Cloudflare, you might see the error message due to Cloudflare'southward SSL settings. Typically, this error happens when you've already installed an SSL certificate on your site's server, just y'all're still using Cloudflare's Flexible SSL setting.

To set up this, you'll want to switch from Cloudflare's Flexible SSL/TLS encryption mode to its Full selection.

Open your Cloudflare dashboard and become to the SSL/TLS tab. Then, alter the SSL/TLS encryption mode from Flexible to Total (or Full (strict) if you tin can):

How to change Cloudflare SSL settings to "Full".
Changing Cloudflare SSL settings to "Full."

Check Your WordPress Site Settings

If you can still admission your WordPress dashboard, you should check your site URL settings (Settings > General).

These should friction match each other. Additionally, if you've set up a redirect from WWW to non-WWW (or vice versa), you'll desire to brand sure your site settings match the permanent URL you fix with your redirect.

For case, if you set a redirect to send all traffic from https://yoursite.com to https://www.yoursite.com, you lot should brand sure that your WordPress site address is https://world wide web.yoursite.com.

Where to find your WordPress site address.
Checking your WordPress site accost.

If you can't access your WordPress dashboard, you can manually override these values by editing your site'south wp-config.php file. Y'all can access and manage this file by connecting to your server via FTP.

Add together the following lawmaking snippet to the file, making sure to replace the example URLs with your site'southward bodily URL:

          define('WP_HOME','https://yourdomain.com'); define('WP_SITEURL','https://yourdomain.com');        

You can learn more virtually changing your WordPress URL for a deeper look at these and other methods.

Temporarily Disable WordPress Plugins

In some situations, a WordPress plugin can cause the "The folio isn't redirecting properly" mistake if it triggers a redirect loop for some reason. This effect could exist considering of the plugin itself or compatibility (with another plugin, theme, or other custom code).

To speedily test if it's a plugin issue, you can endeavour deactivating all of your plugins. If your site starts working once you've deactivated them, you lot'll know that one of your plugins is causing the problem.

If you tin nevertheless access your WordPress dashboard, y'all can deactivate your plugins from the Plugins area.

If you can't access your dashboard, you can disable your plugins via FTP:

  1. Connect to your server using FTP/SFTP and your preferred FTP customer.
  2. Navigate to the wp-content folder.
  3. Rename the plugins binder to plugins_old.
  4. Open your site and see if the problem persists.
Manually disabling plugins using FTP.
Manually disabling plugins using FTP.

If your site starts working, log in to your WordPress dashboard. Once you've logged in, you can go back to your FTP client and rename the folder back to plugins.

When yous go to the Plugins area in your WordPress dashboard, WordPress volition accept deactivated all your plugins. You lot can and then reactivate them ane past one via your dashboard, testing your site over again each time until you find the plugin that's causing the problem.

Check Redirects on Your Server

If you've ready up misconfigured redirects on your server, those could too exist causing issues with redirect loops.

How you lot'll address this depends on whether your host uses the Apache or Nginx spider web server. Kinsta only uses Nginx, only some other web hosts employ Apache.

Apache .htaccess File

With Apache, you tin ready redirects by using the .htaccess file. All the same, a misconfiguration here can trigger the error message in Firefox.

To fix this, y'all can tell WordPress to generate a new .htaccess file:

  1. Connect to your server using FTP.
  2. Notice your existing .htaccess file — it should be in the root binder.
  3. Rename the electric current file to .htaccess_old to disable it (while nevertheless keeping it effectually as a fill-in).

At this betoken, you can try to reaccess your site. If information technology'south working, open up your WordPress dashboard and go to Settings > Permalinks. Then, click Salvage Changes (without changing any settings). This setting will force WordPress to generate a new .htaccess file.

If you can't admission your WordPress dashboard, you tin manually recreate this file by:

  1. Creating a new file named .htaccess using your FTP client.
  2. Adding the code snippet beneath to the file.
          # Begin WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [Fifty] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # Finish WordPress        

Nginx .conf File

If your host uses Nginx, information technology tin be a petty trickier to troubleshoot equally the contents and location of the config file — unremarkably nginx.conf on Nginx servers — will vary depending on the hosting provider. For that reason, nosotros recommend request your support for help.

If y'all host with Kinsta, y'all can go to the Redirects tool in your site dashboard to come across if you've accidentally ready upwards a misconfigured redirect. Or, accomplish out to our support team, and we'll be happy to bank check for you.

An example of a misconfigured redirect in Kinsta's redirect tool.
An case of a misconfigured redirect in Kinsta's redirect tool.

If you lot're withal having issues with the "The page isn't redirecting properly" in Nginx and editing the .conf file didn't solve them, the most likely problem is that you've added a series of rewrite directives resulting in an infinite redirect loop.

This effect tin can happen with any rewrite dominion, but information technology's expected when writing rules to move from HTTP to HTTPS or redirecting WWW to non-World wide web (or vice versa).

If you've recently added new rewrite rules in your nginx.conf file, those rules are likely the culprit. Try removing them and come across if that fixes the trouble. If it does, you know that you have a problem with the syntax of the rewrite rule that you've added.

How to Fix "The Page Isn't Redirecting Properly" in PHP

If you see "The page isn't redirecting properly" in PHP, two common troubleshooting steps are:

Check Your Redirects

If you've set upwardly a redirect using PHP, such every bit via the header() function, that tin be a common source of redirect issues.

Your offset footstep should exist to debug the function and make sure you lot haven't set it upwardly in a way that will create a redirect loop. Follow the steps we've already discussed to fix any misconfigurations.

Cheque for Issues With Login/Session

Many PHP issues with this fault upshot from bug with login and session behavior — for example, a part that checks whether or not a user is logged in and then redirects them to the login page if they're not.

If you don't correctly set up up checks for sessions, y'all tin can essentially trap users in an infinite redirect loop.

Ever seen this bulletin? 😅 Learn how to resolve information technology for WordPress sites, Nginx, and PHP right hither ⬇️ Click to Tweet

Summary

The "The page isn't redirecting properly" fault is a Mozilla Firefox-specific error message that appears when a page has encountered an space redirection loop. Information technology's the aforementioned as the ERR_TOO_MANY_REDIRECTS error message in Chrome.

To troubleshoot this error, you should first by trying ii things:

  1. Clearing your Firefox browser cache.
  2. Clearing the cookies for the site where yous meet the error.

If you lot have a WordPress site and the error message persists subsequently trying those two steps, you lot can follow the WordPress-specific steps in this guide to investigate the issue further. And be certain to follow redirect best practices to minimize your chances of encountering this error in the get-go place.

Do y'all however have any questions most fixing the "The page isn't redirecting properly" error in WordPress or other situations? Leave a comment and permit us know!


Save time, costs and maximize site performance with:

  • Instant help from WordPress hosting experts, 24/7.
  • Cloudflare Enterprise integration.
  • Global audience attain with 29 data centers worldwide.
  • Optimization with our built-in Application Performance Monitoring.

All of that and much more, in one plan with no long-term contracts, assisted migrations, and a xxx-24-hour interval-money-back-guarantee. Check out our plans or talk to sales to notice the programme that's correct for y'all.