Firefox the page isn t redirecting properly

New Page

  1. Hogar
  2. Center of Recursos
  3. Blog
  4. Firefox Errors
  5. How to solve the error “The page does not redirect correctly” of Firefox

How to solve the error “The page does not redirect correctly” of Firefox

Salman Ravoof, August 18, 2022

Illustration of "this page no se redirects correctly" of personas con aspecto confundido reunidas alrededor de una señal que apunta en muchas direcciones.

Compare

Circle

Do you intend to visit this web site in Firefox alone to receive a message that says “The page is not redirected correctly”?

This error message is exclusive to the Mozilla Firefox web browser and indicates another problem with a redirect on your site. Puede deberse a varias cosas, o solo a una. Te ayudaremos a resolverlo a continuation.

¿Apurado? Save this article as a PDF.

¿Cansado de desplazarse? Download a PDF version to learn more easily.

To download

In this article, you will learn how to fix “The page is not redirecting properly” error message for WordPress sites, Nginx servers, and PHP applications. The same steps may also resolve situations where you might see this message in Google Drive or on other websites you visit.

Let’s go!

Contents

  1. What does “The page does not redirect correctly” mean?
  2. Why the message “The page does not redirect correctly” appears
  3. Try These Fixes First
  4. How to Fix “Page Not Redirecting Properly” in WordPress
  5. How to fix “The page is not redirecting properly” in PHP

What does “The page does not redirect correctly” mean?

The error “The page is not redirecting correctly” appears when Firefox is stuck in an infinite redirect loop.

An example of theAn example of the “The page is not redirecting properly” error in Firefox.

For example, “Page 1” might redirect you to “Page 2”, which might redirect you back to “Page 1,”… which would then redirect you straight back to “Page 2,” and so on in an infinite loop.

See how Kinsta stacks up against the competition. Select your provider WP Engine SiteGround GoDaddy Bluehost Flywheel HostGator Cloudways AWS Digital Ocean DreamHost Other Compare

Instead of getting stuck in this redirect loop forever, Firefox will give up and tell you that “The page isn’t redirecting properly.”

This issue can appear on pretty much any site. You might see it on Google Drive or YouTube in some situations. However, if you’re a WordPress webmaster, you might see it when you try to access your WordPress website.

If you are also using the Chrome web browser, you may have encountered the same problem, but with a different name: ERR_TOO_MANY_REDIRECTS. We have a full article on how to fix the ERR_TOO_MANY_REDIRECTS error, and all of the advice in this article will also apply to the Firefox “The page is not redirecting correctly” error, as it is the same fundamental problem. .

If you use Mozilla Firefox, you may have seen this message. 👀 Fortunately, the solution is just a click away ⬇️Click to Tweet

HTTP status and redirect checker

Instantly check the HTTP status of any URL with our free HTTP status and redirect checker. Review all response headers, client errors, and redirects.

Now check CTA_Illustration why the message “The page is not redirected correctly” appears

The root cause of this error message is always some redirect misconfiguration on the site where you’re having problems.

However, there can be many different causes of that misconfiguration, making it a bit tricky to chase down the problem.

Over the rest of this post, we’ll share some tips and tactics you can use to diagnose and fix what’s causing the error.

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.

However, before you move to those steps, or if you’re having issues with a website that you don’t control (such as Google Drive or YouTube), we recommend performing these two basic troubleshooting steps first.

Performing these two steps will automatically fix a lot of these redirect problems. If these methods don’t fix the problem, you can continue to the more specific fixes. But if these tips do get things working again, you’ll have saved yourself a lot of time and frustration.

1. Clear Your Browser Cache

The first action you should take when encountering pretty much any error is to clear your Firefox browser cache.

Firefox (and all other browsers) will store a website’s static files on your local computer in a cache to improve performance. That way, Firefox can load these resources straight from your computer instead of re-downloading them on every new page load.

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

First, enter the following text in your browser’s navigation bar to open the privacy settings:

about:preferences#privacy

Or, you can manually open this area by following 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:

Accediendo a los datas of cache del navegador Firefox and haciendo click in el botón "Borrar datos".Access the Firefox browser cache data and click the “Clear Data” button.

In the popup that appears, select the Cached Web Content option and then click Clear :

Borrando the Firefox browser cache.Clear Firefox browser cache.

Now reload the page you are having trouble with and see if it works. If not, proceed to the next step.

2. Clear cookies for the site with problems

Another common cause of the “The page is not redirecting properly” message is a problem with the site’s cookies.

As with browser caching, the solution is to clear your browser’s cookies for the site in question.

To avoid logging out of every site you visit, you’ll only want to clear cookies for the specific domain where you’re having trouble. There’s no problem deleting all your cookies – it’s just a pain having to re-login to each site, which is why it’s probably best to go for the targeted approach.

To perform this targeted deletion, return to the Cookies and Site Data settings (as you did for the browser cache), but this time click the Manage Data button  :

Búsqueda de cookies para sites individuales través del botón "Administrar datos".Search cookies for individual sites via the “Manage data” button.

In the popup:

  1. Find the domain name of the site you’re having trouble with.
  2. Select it from the list.
  3. Click Delete Selected .

Cómo borrar las cookies de un solo sitio con el botón "Eliminar seleccionados".Clear cookies from a single site with the “Remove Selected” button.

In the confirmation prompt that appears, click Delete again  :

Cómo confirmar que dessea borrar las cookies para el site seleccionado.Confirm that you want to delete cookies for the selected site.

Then reload the page and see if it works again. Note that if the site requires a username/password, you will need to log in again.

If none of these tips solve the problem, you can continue reading to find more targeted solutions.

How to Fix “Page Not Redirecting Properly” in WordPress

Si vous voyez le message “La page n’est pas redirigée correctement” sur votre site WordPress et que les deux étapes de dépannage ci-dessus n’ont pas résolu le problème, vous devrez peut-être creuser dans certains correctifs spécifiques à WordPress.

As we mentioned above, 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, you can use a redirect checker tool like HTTP Status and Redirect Checker to analyze what’s happening in your redirect loop. Just enter the URL of the site you’re having issues with, and the tool will break down the redirect chain by each step.

For example, if you see that your site is redirecting back and forth between the HTTP and HTTPS versions of the site, that’s a pretty good sign that the problem has something to do with HTTPS or SSL usage on your site, so you should start your troubleshooting there.

If you don’t see any pattern, you can move through the below troubleshooting steps in order.

Check Your HTTPS Settings

Your site’s HTTPS settings can be a common source of redirect misconfigurations. There are a few potential issues here:

Sign Up For the Newsletter

Sign Up Now

By submitting this form I agree to the Terms and Conditions and Privacy Policy, including the transfer of data to the United States. By sharing your email, you also agree to receive occasional information related to services, events, and promotions from Kinsta. You’re free to unsubscribe at any time.

Want to know how we increased our traffic by over 1000%?

Join over 20,000 other people who receive our weekly newsletter with insider WordPress tips!

Subscribe now

  • Forcer HTTPS sans installer de certificat SSL : Si vous essayez de forcer l’utilisation de HTTPS sans installer de certificat SSL, cela déclenchera cette erreur. Si vous hébergez chez Kinsta, nous avons rédigé un guide sur l’utilisation des certificats SSL. Sinon, consultez le support de votre hébergeur pour obtenir de l’aide.
  • Utilisation d’un plugin SSL : Dans la mesure du possible, nous vous recommandons de mettre à jour vos liens codés en dur pour utiliser HTTPS au lieu d’utiliser un plugin SSL comme Really Simple SSL. Vous pouvez le faire en exécutant une recherche et un remplacement sur la base de données de votre site. Si vous êtes un client Kinsta, contactez le support, et nous pouvons le faire pour vous.
  • Having a misconfigured HTTP to HTTPS redirect: Force-redirecting all HTTP traffic to HTTPS is good, but you’ll want to make sure you’ve correctly set up the redirect.

Check Cloudflare SSL Settings

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

To fix this, you’ll want to switch from Cloudflare’s Flexible SSL/TLS encryption mode to its Full option.

Open your Cloudflare dashboard and navigate to the SSL/TLS tab. Next, change the SSL/TLS encryption mode from Flexible to Full ( or Full (strict) if you can):

How to change Cloudflare's SSL configuration to "Completo".Changed Cloudflare’s SSL settings to “Full”.

information

If you’re using Kinsta’s Cloudflare-powered content delivery network, you don’t have to worry about that because we set it all up for you.

Check your WordPress site settings

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

These should match each other. Additionally, if you have configured a redirect from WWW to non-WWW (or vice versa), you must ensure that your site settings match the permanent URL you have configured with your redirect.

For example, if you are setting up a redirect to send all traffic from https://yoursite.com to https://www.yoursite.com, you should ensure that your WordPress site address is https://www .your site. com.

Where to find your WordPress site address.Verification of your WordPress site address.

If you can’t access your WordPress dashboard, you can manually override these values ​​by editing your site’s wp-config.php file. You can access and manage this file by connecting to your server via FTP.

Add the following code snippet to the file, making sure to replace the example URLs with your site’s actual URL:

set(‘WP_HOME’,’https://yourdomain.com’); set(‘WP_SITEURL’,’https://yourdomain.com’);

You can read more about changing your WordPress URL for a closer look at these and other methods.

Temporarily disable WordPress plugins

Dans certaines situations, un plugin WordPress peut provoquer l’erreur “La page ne redirige pas correctement” s’il déclenche une boucle de redirection pour une raison quelconque. Ce problème peut être dû au plugin lui-même ou à sa compatibilité (avec un autre plugin, thème ou autre code personnalisé).

Pour tester rapidement s’il s’agit d’un problème de plugin, vous pouvez essayer de désactiver tous vos plugins. Si votre site commence à fonctionner une fois que vous les avez désactivés, vous saurez que l’un de vos plugins est à l’origine du problème.

Besoin d’un hébergement ultra-rapide, fiable et entièrement sécurisé pour votre site e-commerce ? Kinsta fournit tout cela et une assistance de classe mondiale 24h/24 et 7j/7 par des experts WooCommerce. Découvrez nos forfaits

If you can still access your WordPress dashboard, you can deactivate your plugins from the Plugins area .

If you can’t access your dashboard, you can deactivate your plugins via FTP:

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

Manual deactivation of plugins via FTP.Manual deactivation of plugins via 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 you go to the Plugins area in your WordPress dashboard, WordPress will have deactivated all your plugins. You can then reactivate them one by one via your dashboard, testing your site again each time until you find the plugin that’s causing the problem.

Check Redirects on Your Server

If you’ve set up misconfigured redirects on your server, those could also be causing issues with redirect loops.

How you’ll address this depends on whether your host uses the Apache or Nginx web server. Kinsta only uses Nginx, but some other web hosts use Apache.

Apache .htaccess File

With Apache, you can set up redirects by using the .htaccess file. However, a misconfiguration here can trigger the error message in Firefox.

To fix this, you can tell WordPress to generate a new .htaccess file:

  1. Connect to your server using FTP.
  2. Find your existing .htaccess file — it should be in the root folder.
  3. Rename the current file to .htaccess_old to disable it (while still keeping it around as a backup).

At this point, you can try to reaccess your site. If it’s working, open your WordPress dashboard and go to Settings > Permalinks. Then, click Save Changes (without changing any settings). This setting will force WordPress to generate a new .htaccess file.

Si vous ne pouvez pas accéder à votre tableau de bord WordPress, vous pouvez recréer manuellement ce fichier en :

  1. Création d’un nouveau fichier nommé .htaccess à l’aide de votre client FTP.
  2. Added the code snippet below to the file.

# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ -[L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress

Nginx .conf file

If your host is using Nginx, it might be a little more difficult to troubleshoot because the contents and location of the configuration file – normally nginx.conf on Nginx servers – varies depending on the hosting provider. For this reason, we recommend that you ask your support for help.

If you’re hosting with Kinsta, you can access the Redirects tool in your site’s dashboard to see if you’ve accidentally set up a misconfigured redirect. Or contact our support team and we’ll be happy to check it out for you.

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

If you’re still having issues with the “The page is not redirecting properly” in Nginx and editing the .conf file didn’t fix them, the most likely issue is that you added a series of rewrite directives resulting in an infinite redirect loop.

Ce problème peut survenir avec n’importe quelle règle de réécriture, mais on s’attend à ce que lors de l’écriture de règles, il passe de HTTP à HTTPS ou redirige WWW vers non-WWW (ou 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 see if that fixes the problem. 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 up a redirect using PHP, such as via the header() function, that can be a common source of redirect issues.

Your first step should be to debug the function and make sure you haven’t set it up in a way that will create a redirect loop. Follow the steps we’ve already discussed to fix any misconfigurations.

Check for Issues With Login/Session

Many PHP issues with this error result from problems with login and session behavior — for example, a function 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 checks for sessions, you can essentially trap users in an infinite redirect loop.

Ever seen this message? 😅 Learn how to resolve it for WordPress sites, Nginx, and PHP right here ⬇️Click to Tweet

Summary

The “The page isn’t redirecting properly” error is a Mozilla Firefox-specific error message that appears when a page has encountered an infinite redirection loop. It’s the same as the ERR_TOO_MANY_REDIRECTS error message in Chrome.

To troubleshoot this error, you should start by trying two things:

  1. Clearing your Firefox browser cache.
  2. Clearing the cookies for the site where you see the error.

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

Do you still have any questions about fixing the “The page isn’t redirecting properly” error in WordPress or other situations? Leave a comment and let us know!

Save time, costs and maximize site performance with:

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

All this and more, in one plan with no long-term contracts, assisted migrations and a 30-day money-back guarantee. Check out our plans or talk to sales to find the plan that’s right for you.

  1. House
  2. Resource Center
  3. Blog
  4. Firefox errors
  5. How to fix the Firefox error “The page is not redirecting correctly”

How to fix the Firefox error “The page is not redirecting correctly”

Salmane Ravoof, August 18, 2022

Illustration of "this page no se redirects correctly" of personas con aspecto confundido reunidas alrededor de una señal que apunta en muchas direcciones.

Shares

close

Have you tried visiting your website in Firefox only to be greeted with a message that “The page is not redirecting properly”?

Ce message d’erreur est unique au navigateur Web Mozilla Firefox et indique un problème avec une redirection sur votre site. Cela peut être dû à plusieurs choses, ou à une seule. Nous vous aiderons à le comprendre ci-dessous.

Pressé? Enregistrez cet article au format PDF.

Fatigué de faire défiler ? Téléchargez une version PDF pour faciliter la lecture hors ligne et le partage avec vos collègues.

Télécharger

Dans cet article, vous apprendrez comment corriger le message d’erreur “La page n’est pas redirigée correctement” pour les sites WordPress, les serveurs Nginx et les applications PHP. Les mêmes étapes peuvent également résoudre les situations où vous pourriez voir ce message dans Google Drive ou sur d’autres sites Web que vous visitez.

Allons-y!

Table des matières

  1. Que signifie “La page ne redirige pas correctement” ?
  2. Why the message “The page does not redirect correctly” appears
  3. Try These Fixes First
  4. How to Fix “Page Not Redirecting Properly” in WordPress
  5. How to fix “The page is not redirecting properly” in PHP

What does “The page does not redirect correctly” mean?

The error “The page is not redirecting correctly” appears when Firefox is stuck in an infinite redirect loop.

An example of theAn example of the “The page is not redirecting properly” error in Firefox.

For example, “Page 1” might redirect you to “Page 2”, which might redirect you back to “Page 1,”… which would then redirect you straight back to “Page 2,” and so on in an infinite loop.

See how Kinsta stacks up against the competition. Select your provider WP Engine SiteGround GoDaddy Bluehost Flywheel HostGator Cloudways AWS Digital Ocean DreamHost Other Compare

Instead of getting stuck in this redirect loop forever, Firefox will give up and tell you that “The page isn’t redirecting properly.”

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

If you are also using the Chrome web browser, you may have encountered the same problem, but with a different name: ERR_TOO_MANY_REDIRECTS. We have a full article on how to fix the ERR_TOO_MANY_REDIRECTS error, and all of the advice in this article will also apply to the Firefox “The page is not redirecting correctly” error, as it is the same fundamental problem. .

If you use Mozilla Firefox, you may have seen this message. 👀 Fortunately, the solution is just a click away ⬇️Click to Tweet

HTTP status and redirect checker

Instantly check the HTTP status of any URL with our free HTTP status and redirect checker. Review all response headers, client errors, and redirects.

Now check CTA_Illustration why the message “The page is not redirected correctly” appears

The root cause of this error message is always some redirect misconfiguration on the site where you’re having problems.

However, there can be many different causes of that misconfiguration, making it a bit tricky to chase down the problem.

Over the rest of this post, we’ll share some tips and tactics you can use to diagnose and fix what’s causing the error.

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.

However, before you move to those steps, or if you’re having issues with a website that you don’t control (such as Google Drive or YouTube), we recommend performing these two basic troubleshooting steps first.

Performing these two steps will automatically fix a lot of these redirect problems. If these methods don’t fix the problem, you can continue to the more specific fixes. But if these tips do get things working again, you’ll have saved yourself a lot of time and frustration.

1. Clear Your Browser Cache

The first action you should take when encountering pretty much any error is to clear your Firefox browser cache.

Firefox (and all other browsers) will store a website’s static files on your local computer in a cache to improve performance. That way, Firefox can load these resources straight from your computer instead of re-downloading them on every new page load.

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

First, enter the following text in your browser’s navigation bar to open the privacy settings:

about:preferences#privacy

Or, you can manually open this area by following 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:

Accediendo a los datas of cache del navegador Firefox and haciendo click in el botón "Borrar datos".Access the Firefox browser cache data and click the “Clear Data” button.

In the popup that appears, select the Cached Web Content option and then click Clear :

Borrando the Firefox browser cache.Clear Firefox browser cache.

Now reload the page you are having trouble with and see if it works. If not, proceed to the next step.

2. Clear cookies for the site with problems

Another common cause of the “The page is not redirecting properly” message is a problem with the site’s cookies.

As with browser caching, the solution is to clear your browser’s cookies for the site in question.

To avoid logging out of every site you visit, you’ll only want to clear cookies for the specific domain where you’re having trouble. There’s no problem deleting all your cookies – it’s just a pain having to re-login to each site, which is why it’s probably best to go for the targeted approach.

To perform this targeted deletion, return to the Cookies and Site Data settings (as you did for the browser cache), but this time click the Manage Data button  :

Búsqueda de cookies para sites individuales través del botón "Administrar datos".Search cookies for individual sites via the “Manage data” button.

In the popup:

  1. Find the domain name of the site you’re having trouble with.
  2. Select it from the list.
  3. Click Delete Selected .

Cómo borrar las cookies de un solo sitio con el botón "Eliminar seleccionados".Clear cookies from a single site with the “Remove Selected” button.

In the confirmation prompt that appears, click Delete again  :

Cómo confirmar que dessea borrar las cookies para el site seleccionado.Confirm that you want to delete cookies for the selected site.

Then reload the page and see if it works again. Note that if the site requires a username/password, you will need to log in again.

If none of these tips solve the problem, you can continue reading to find more targeted solutions.

How to Fix “Page Not Redirecting Properly” in WordPress

Si vous voyez le message “La page n’est pas redirigée correctement” sur votre site WordPress et que les deux étapes de dépannage ci-dessus n’ont pas résolu le problème, vous devrez peut-être creuser dans certains correctifs spécifiques à WordPress.

As we mentioned above, 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, you can use a redirect checker tool like HTTP Status and Redirect Checker to analyze what’s happening in your redirect loop. Just enter the URL of the site you’re having issues with, and the tool will break down the redirect chain by each step.

For example, if you see that your site is redirecting back and forth between the HTTP and HTTPS versions of the site, that’s a pretty good sign that the problem has something to do with HTTPS or SSL usage on your site, so you should start your troubleshooting there.

If you don’t see any pattern, you can move through the below troubleshooting steps in order.

Check Your HTTPS Settings

Your site’s HTTPS settings can be a common source of redirect misconfigurations. There are a few potential issues here:

Sign Up For the Newsletter

Sign Up Now

By submitting this form I agree to the Terms and Conditions and Privacy Policy, including the transfer of data to the United States. By sharing your email, you also agree to receive occasional information related to services, events, and promotions from Kinsta. You’re free to unsubscribe at any time.

Want to know how we increased our traffic by over 1000%?

Join over 20,000 other people who receive our weekly newsletter with insider WordPress tips!

Subscribe now

  • Forcer HTTPS sans installer de certificat SSL : Si vous essayez de forcer l’utilisation de HTTPS sans installer de certificat SSL, cela déclenchera cette erreur. Si vous hébergez chez Kinsta, nous avons rédigé un guide sur l’utilisation des certificats SSL. Sinon, consultez le support de votre hébergeur pour obtenir de l’aide.
  • Utilisation d’un SSL complémentaire : si possible, nous vous recommandons d’actualiser vos liens codifiés pour l’utilisation de HTTPS et d’utiliser un SSL complémentaire comme Really Simple SSL . Puede hacer esto ejecutando una búsqueda y reemplazo en la base de datos de su sitio. Si es cliente de Kinsta, comuníquese con soporte y podemos hacer esto por usted.
  • Tener una redirección de HTTP a HTTPS mal configurada: la redirección forzada de todo el tráfico HTTP a HTTPS es buena, pero querrá asegurarse de haber configurado correctamente la redirección .

Comprobar la configuración SSL de Cloudflare

Si configuró su sitio de WordPress para usar Cloudflare , es posible que vea el mensaje de error debido a la configuración de SSL de Cloudflare. Por lo general, este error ocurre cuando ya instaló un certificado SSL en el servidor de su sitio, pero todavía está usando la configuración de SSL flexible de Cloudflare.

Para solucionar esto, querrá cambiar del modo de cifrado Flexible SSL/TLS de Cloudflare a su opción Completa .

Open the Cloudflare control panel and use the SSL/TLS pestaña. Luego, cambie el modo de encriptación SSL/TLS de Flexible a Completo ( o Completo (stricto) si puede):

How to change Cloudflare's SSL configuration to "Completo".Cambiar Cloudflare’s SSL configuration has “Completo”.

information

If you’re using Kinsta’s Cloudflare-powered content delivery network, you don’t have to worry about that because we set it all up for you.

Check your WordPress site settings

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

These should match each other. Additionally, if you have configured a redirect from WWW to non-WWW (or vice versa), you must ensure that your site settings match the permanent URL you have configured with your redirect.

For example, if you are setting up a redirect to send all traffic from https://yoursite.com to https://www.yoursite.com, you should ensure that your WordPress site address is https://www .your site. com.

Where to find your WordPress site address.Verification of your WordPress site address.

If you can’t access your WordPress dashboard, you can manually override these values ​​by editing your site’s wp-config.php file. You can access and manage this file by connecting to your server via FTP.

Add the following code snippet to the file, making sure to replace the example URLs with your site’s actual URL:

set(‘WP_HOME’,’https://yourdomain.com’); set(‘WP_SITEURL’,’https://yourdomain.com’);

You can read more about changing your WordPress URL for a closer look at these and other methods.

Temporarily disable WordPress plugins

Dans certaines situations, un plugin WordPress peut provoquer l’erreur “La page ne redirige pas correctement” s’il déclenche une boucle de redirection pour une raison quelconque. Ce problème peut être dû au plugin lui-même ou à sa compatibilité (avec un autre plugin, thème ou autre code personnalisé).

Pour tester rapidement s’il s’agit d’un problème de plugin, vous pouvez essayer de désactiver tous vos plugins. Si votre site commence à fonctionner une fois que vous les avez désactivés, vous saurez que l’un de vos plugins est à l’origine du problème.

Besoin d’un hébergement ultra-rapide, fiable et entièrement sécurisé pour votre site e-commerce ? Kinsta fournit tout cela et une assistance de classe mondiale 24h/24 et 7j/7 par des experts WooCommerce. Découvrez nos forfaits

If you can still access your WordPress dashboard, you can deactivate your plugins from the Plugins area .

If you can’t access your dashboard, you can deactivate your plugins via FTP:

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

Manual deactivation of plugins via FTP.Manual deactivation of plugins via 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 you go to the Plugins area in your WordPress dashboard, WordPress will have deactivated all your plugins. You can then reactivate them one by one via your dashboard, testing your site again each time until you find the plugin that’s causing the problem.

Check Redirects on Your Server

If you’ve set up misconfigured redirects on your server, those could also be causing issues with redirect loops.

How you’ll address this depends on whether your host uses the Apache or Nginx web server. Kinsta only uses Nginx, but some other web hosts use Apache.

Apache .htaccess File

With Apache, you can set up redirects by using the .htaccess file. However, a misconfiguration here can trigger the error message in Firefox.

To fix this, you can tell WordPress to generate a new .htaccess file:

  1. Connect to your server using FTP.
  2. Find your existing .htaccess file — it should be in the root folder.
  3. Rename the current file to .htaccess_old to disable it (while still keeping it around as a backup).

At this point, you can try to reaccess your site. If it’s working, open your WordPress dashboard and go to Settings > Permalinks. Then, click Save Changes (without changing any settings). This setting will force WordPress to generate a new .htaccess file.

Si vous ne pouvez pas accéder à votre tableau de bord WordPress, vous pouvez recréer manuellement ce fichier en :

  1. Création d’un nouveau fichier nommé .htaccess à l’aide de votre client FTP.
  2. Added the code snippet below to the file.

# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ -[L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress

Nginx .conf file

If your host is using Nginx, it might be a little more difficult to troubleshoot because the contents and location of the configuration file – normally nginx.conf on Nginx servers – varies depending on the hosting provider. For this reason, we recommend that you ask your support for help.

If you’re hosting with Kinsta, you can access the Redirects tool in your site’s dashboard to see if you’ve accidentally set up a misconfigured redirect. Or contact our support team and we’ll be happy to check it out for you.

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

If you’re still having issues with the “The page is not redirecting properly” in Nginx and editing the .conf file didn’t fix them, the most likely issue is that you added a series of rewrite directives resulting in an infinite redirect loop.

This problem can occur with any rewrite rule, but it is expected that when writing rules, it changes from HTTP to HTTPS or redirects WWW to non-WWW (or vice versa).

If you recently added new rewrite rules to your nginx.conf file , those rules are likely to blame. Try deleting them and see if that fixes the problem. If so, you know you have a problem with the syntax of the rewrite rule you added.

How to fix “The page is not redirecting properly” in PHP

If you see “The page is not redirecting properly” in PHP, two common troubleshooting steps are:

Check your redirects

If you have configured a redirect using PHP, for example via the header() function , this can be a common source of redirect issues.

Your first step should be to debug the function and make sure you haven’t configured it to create a redirect loop. Follow the steps we have already discussed to fix misconfigurations.

Check connection/session issues

Many PHP problems with this error result from problems with login and session behavior – for example, a function that checks whether a user is logged in or not, then redirects them to the login page if they are not.

If you don’t configure session checks correctly, you can essentially trap users in an infinite redirect loop.

Have you seen this message before? 😅 Learn how to fix it for WordPress, Nginx and PHP sites here ⬇️Click to Tweet

Summary

The “Page is not redirecting correctly” error is a Mozilla Firefox-specific error message that appears when a page encounters an infinite redirect loop. This is the same as the ERR_TOO_MANY_REDIRECTS error message in Chrome.

To resolve this error, you should start by trying two things:

  1. Clear your Firefox browser cache.
  2. Clear cookies from the site where you see the error.

If you have a WordPress site and the error message persists after trying these two steps, you can follow the WordPress-specific steps in this guide to dig deeper into the problem. And be sure to follow redirect best practices to minimize your chances of encountering this error in the first place.

Do you still have questions about how to fix “The page is not redirecting correctly” error in WordPress or other situations? Leave a comment and let us know!

Save time, money and maximize site performance with:

  • Instant help from WordPress hosting experts, 24/7.
  • Cloudflare Enterprise integration.
  • Global audience with 35 data centers around the world.
  • Optimized with our built-in application performance monitoring.

All this and more, in one plan with no long-term contracts, assisted migrations and a 30-day money-back guarantee. Check out our plans or talk to sales to find the plan that’s right for you.


Video Firefox the page isn t redirecting properly

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…