Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coupe WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Comment corriger l’erreur Trop de Redirections dans WordPress

Note éditoriale : Nous percevons une commission sur les liens des partenaires sur WPBeginner. Les commissions n'affectent pas les opinions ou les évaluations de nos rédacteurs. En savoir plus sur Processus éditorial.

Vous essayez de corriger le problème « Erreur trop de redirections » sur votre site WordPress ?

Il s’agit d’une erreur WordPress courante qui peut être causée par une extension ou des réglages incorrects. Cependant, elle laisse les utilisateurs/utilisatrices bloqués hors de leurs sites WordPress, ce qui la rend particulièrement gênante.

Dans cet article, nous allons vous afficher comment corriger facilement le problème  » Erreur trop de redirections  » sur WordPress. Nous couvrirons également la façon de regagner l’accès à votre site et de dépanner l’erreur.

Fixing too many redirects error in WordPress

Quelle est la cause de l’erreur « Trop de redirections » dans WordPress ?

L’erreur « trop de redirections » est due à une mauvaise configuration des redirections dans WordPress.

Comme vous le savez peut-être déjà, WordPress dispose d’une fonctionnalité de structure d’URL favorable au référencement qui utilise la fonction de redirection. De même, de nombreux plugins WordPress populaires utilisent cette fonctionnalité pour configurer des redirections temporaires, créer des redirections 301 permanentes et corriger les erreurs 404.

Si vous utilisez une extension pour corriger le problème de contenu non sécurisé SSL ou une extension de mise en cache WordPress, cela peut également affecter les redirections et provoquer l’erreur « trop de redirections ».

Voici à quoi ressemble le message « ERR_TOO_MANY_REDIRECTS » dans Google Chrome.

Error Too Many Redirects in Google Chrome

Cependant, cette erreur ne vous indique pas ce qui cause le conflit et force la boucle de redirection dans WordPress.

Voici à quoi ressemble l’erreur dans Firefox avec le message « La page n’est pas redirigée correctement ».

Too many redirects error in Firefox

Ceci étant dit, voyons comment corriger l’erreur trop de redirections dans WordPress.

Nous vous accompagnons dans le dépannage étape par étape, pour accéder à votre site WordPress et éviter que l’erreur ne se reproduise.

Tutoriel vidéo

Subscribe to WPBeginner

Si vous préférez des instructions écrites, continuez à lire.

1. Effacer les cookies et le cache du navigateur

Une cause fréquente de l’erreur pourrait être les cookies de votre navigateur web. Essayez d’accéder à votre site en utilisant un autre navigateur web, comme Firefox, Safari, Opera ou Microsoft Edge.

Si vous pouvez accéder à votre site normalement en utilisant un autre navigateur, vous devez alors effacer les cookies et la mise en cache de votre navigateur habituel.

Clear cookies and cache in Google chrome

Nous avons un guide détaillé sur la façon de vider le cache de votre navigateur dans tous les principaux navigateurs qui vous aidera à le faire.

En revanche, si la modification du navigateur ne corrige pas le problème, vous pouvez passer à l’étape suivante.

2. Désactiver toutes les extensions WordPress

La cause la plus fréquente des boucles de redirection WordPress ou ‘ERR_TOO_MANY_REDIRECTS’ est un conflit d’extension. Une extension WordPress essayant de configurer une redirection d’une manière qui entre en conflit avec les redirections WordPress par défaut peut provoquer ce message d’erreur.

Pour corriger ce problème, vous devez désactiver toutes les extensions WordPress de votre site. Normalement, il vous suffit d’aller sur la page WordPress  » Tous les plugins «  dans la zone d’administration de WordPress et de désactiver les plugins à partir de là.

Deactivate all plugins

Cependant, nous supposons qu’en raison de l’erreur de redirection, vous ne pouvez pas accéder à la zone d’administration de WordPress.

Dans ce cas, vous devrez désactiver les extensions WordPress à l’aide d’un client FTP comme FileZilla ou de l’application Gestionnaire de fichiers de votre panneau de contrôle de l’hébergeur WordPress.

Il suffit de se connecter à votre site à l’aide d’un client FTP et de se rendre dans le dossier /wp-content/.

Renaming the plugins folder using FTP

Vous y trouverez le dossier des extensions, que vous devez renommer en « plugins.deactivate ».

Cette opération désactivera toutes les extensions WordPress de votre site.

Renamed plugins folder

En principe, WordPress recherche un dossier appelé  » plugins" pour charger les fichiers d’extension. Lorsqu’il ne trouve pas ce dossier, il désactive automatiquement les extensions activées dans la base de données.

Vous pouvez maintenant essayer de visiter votre site WordPress. Si vous pouvez vous connecter à la zone d’administration de WordPress, cela signifie que l’une des extensions est à l’origine de l’erreur.

Pour savoir quelle extension est en cause, vous devez revenir au client FTP ou à l’application Gestionnaire de fichiers et renommer votre dossier plugins.deactivate en « plugins ».

Après cela, passez à la zone d’administration WordPress de votre site et allez à la page  » Plugins  » Tous les plugins. À partir de là, vous pouvez activer vos extensions une par une, puis consulter votre site pour voir si vous pouvez reproduire l’erreur.

Une fois que vous avez trouvé l’extension qui est à l’origine de l’erreur, vous pouvez trouver une alternative à cette extension ou signaler le problème au forum de support WordPress de l’extension.

3. Corrigez les URL de WordPress

Une autre cause majeure de cette erreur est une mauvaise configuration des Réglages de l’URL de WordPress. Normalement, vous pouvez voir ces options sur la page Réglages  » Général.

WordPress URL settings

Pour la plupart des sites, les URL des champs Adresse WordPress et Adresse du site doivent être identiques. Toutefois, certains utilisateurs/utilisatrices peuvent finir par utiliser « www » dans une URL et une URL non www dans l’autre.

Comme vous n’avez peut-être pas accès à la zone d’administration de WordPress, vous devrez peut-être corriger les URL de WordPress à l’aide d’un client FTP ou de l’application Gestionnaire de fichiers.

Connectez-vous simplement à votre site WordPress à l’aide d’un client FTP et rendez-vous dans le dossier /wp-content/themes/your-theme-folder/.

Edit functions.php file

À partir de là, vous devez trouver le fichier functions.php et le modifier à l’aide d’un éditeur de texte simple comme Notepad ou TextEditrices.

Ensuite, vous devez ajouter le code suivant au bas de la page :

update_option( 'siteurl', 'https://example.com' );
update_option( 'home', 'https://example.com' );

N’oubliez pas de remplacer « https://example.com » par les URL de votre propre site. Vous pouvez maintenant enregistrer vos modifications et téléverser le fichier sur votre site.

Ensuite, essayez de visiter votre site pour voir si cela résout l’erreur.

Pour plus de méthodes, consultez notre tutoriel sur la manière de modifier facilement les URL de WordPress.

4. Réinitialiser le fichier .htaccess de WordPress

Le fichier .htaccess est un fichier spécial utilisé par le serveur du site pour gérer les redirections et autres réglages du serveur. WordPress utilise également ce fichier pour les URL favorables au référencement et d’autres redirections.

Il arrive que les extensions WordPress apportent des modifications au fichier .htaccess de votre site, ce qui peut déclencher cette erreur. Il est également possible que le fait de désactiver une extension ne retire pas ces modifications de votre fichier .htaccess.

Dans ce cas, vous devrez réinitialiser manuellement votre fichier WordPress .htaccess.

Là encore, vous devrez accéder à votre site à l’aide d’un client FTP ou de l’application Gestionnaire de fichiers du tableau de bord de votre hébergeur. Une fois connecté, vous verrez le fichier .htaccess dans le dossier racine de votre site.

Editing .htaccess file via FTP

Note : Si vous ne trouvez pas votre fichier .htaccess, consultez notre guide sur la façon de trouver le fichier .htaccess dans WordPress.

Tout d’abord, vous devez télécharger une copie de votre fichier .htaccess sur votre ordinateur à titre de sauvegarde. Ensuite, vous pouvez aller de l’avant et supprimer le fichier de votre site.

Vous pouvez maintenant essayer de visiter votre blog WordPress. Si tout fonctionne normalement, cela signifie que votre fichier .htaccess était à l’origine de l’erreur de redirection.

Puisque nous avons supprimé le fichier .htaccess, vous devez le recréer. Normalement, votre site WordPress peut le faire tout seul. Pour vous en assurer, il vous suffit d’aller sur la page Réglages  » Permaliens et de cliquer sur le bouton  » Enregistrer les modifications  » en bas.

Refresh permalinks to create .htaccess file

5. Empêcher les erreurs de trop nombreuses redirections dans WordPress

Corrigé, les étapes que nous venons de couvrir ont corrigé le problème de redirection sur votre site. Si elles n’ont pas corrigé le problème, vous devrez peut-être vous adresser à votre entreprise d’hébergement WordPress pour vous assurer qu’il ne s’agit pas d’un problème de serveur.

Une fois qu’ils auront corrigé le problème sur votre site, vous devriez également être en mesure d’en déterminer la cause.

S’il s’agissait d’une extension, alors vous devez signaler le problème au forum de support du plugin. Consultez notre guide sur la façon de demander le support de WordPress. Cependant, si vous ne parvenez pas à obtenir de l’aide, alors vous pouvez toujours trouver une extension alternative qui fait la même chose.

Si l’erreur est due à une mauvaise configuration du site WordPress, vous pouvez en prendre note et vous assurer que les Réglages de votre site sont correctement définis.

Pour plus d’astuces, consultez notre tutoriel détaillé sur la façon de dépanner les problèmes WordPress par vous-même comme un vrai pro de WordPress.

Nous espérons que cet article vous a aidé à résoudre le problème  » erreur trop de redirections  » sur votre site. Vous pouvez également mettre en signet notre manuel ultime des erreurs WordPress courantes et consulter notre liste des meilleures extensions et outils de référencement WordPress.

Si vous avez aimé cet article, veuillez alors vous abonner à notre chaîne YouTube pour obtenir des tutoriels vidéo sur WordPress. Vous pouvez également nous trouver sur Twitter et Facebook.

Divulgation : Notre contenu est soutenu par les lecteurs. Cela signifie que si vous cliquez sur certains de nos liens, nous pouvons gagner une commission. Consultez comment WPBeginner est financé, pourquoi cela compte et comment vous pouvez nous soutenir. Voici notre processus éditorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

L'ultime WordPress Toolkit

Accédez GRATUITEMENT à notre boîte à outils - une collection de produits et de ressources liés à WordPress que tous les professionnels devraient avoir !

Reader Interactions

303 commentairesLaisser une réponse

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Akash Gadiya says

    I’ve tried all the suggested solutions but unfortunately none of them seem to work for me. The last thing I remember doing on the cPanel was to use the Backup wizard to take a full backup of the site. After that I’m assuming, the too many redirects error started showing up. I don’t even have access to the admin panel now. Could that in any way be linked to this problem?

    Here’s what I’ve done so far:
    1) I added those lines of code to the wp-config.php file with and without www
    2) I deleted 2 .htaccess files, one in the root directory and another in the wp-content folder, one by one
    3) I renamed the plugins folder to deactivate it
    4) I downloaded the backup file from the root directory and deleted it from the server
    4) I ran through all the comments scanning for a possible fix, but to no avail

    Any assistance in any way would be highly appreciated.

    Thanks!

  3. Caspian Canuck says

    In my case the culprit was a redirect plugin that had a feature (which I don’t remember turning on, so it may have been done automatically during a version update) that monitors changes in page URLs and creates automatic redirects. The idea behind it is, if you had a page that you originally created under Category A, then moved it to Category B, the plugin would automatically create a HTTP 301 redirect from /category_a/slug to /category_b/slug. Except it isn’t smart enough to delete that redirect if you subsequently decided to move the page back to Category A and would stupidly create a second redirect from /category_b/slug to /category_a/slug. This would create an infinite redirect loop.

    My solution to this idiocy was to disable the auto-redirect feature.

  4. Muqarrab Zaidi says

    My website is running fine no problem with that i have edited .htaccess file also the code you provided but still this problem exist

  5. Muqarrab Zaidi says

    I have deactivated all plugins (folder name changed in wp-content) but still unable to login into admin area error is same that ERR_TOO_MANY_REDIRECTS please suggest me I am trying to resolve this I can’t publish my articles since 2 days

  6. Webadmin says

    I found out that there are two .htaccess files, one in www folder and other www/wp-admin folder. I also discovered that I had security enable where the admin folder was only allowed from a specific IP. My DSL provider changed my outbound IP at sometime and start causing me « redirect » issues. Once I add the new IP into www/wp-admin/.htaccess file, I was able to see my admin login page.

  7. Amber says

    I deleted the .htaccess file but a new one has not generated. Is there something I need to do to generate the new .htaccess file?

    • Martha says

      After deleting the .htaccess file, you need to log in to your admin area, go to Settings -> Permalinks, select the appropriate url choice you prefer, then hit Save. A new .htaccess file will be generated for you.

  8. Lookman says

    After trying all the solutions suggested above without success. I stumbled upon a solution, my wp-admin folder was inside a cgi-bin folder, I don’t know how the folder was create, I copied my wp-admin folder to the main folder and deleted the cgi-bin folder.

    Thanks all

  9. hossam elbadry says

    Please happened to me the same problem on a link to the Control Panel( wp-admin) and you just experimenting with the second solution did not succeed with me

  10. Romas says

    I have infinite loop redirection when I change in settigns->general
    http://example.com to https://example.com , I think this means that there is some redirection from https to http, but I cannot find it, as far as I know I dont have plugins that redirect from https to http, but I think this is a standard feature of worpdress, how can I turn it off?
    Thanks.

    • WPBeginner Support says

      Hi Romas,

      No it is not a WordPress feature. If you do not have SSL installed on your site then you need to use http:// in both site address and WordPress address fields on Settings -> General page.

      Administrateur

  11. Alex Lucchesi says

    My solution: when I noticed that none of the above solutions worked, I realized that each time the only way I was able to successfully get to mydomain/wp-admin was to go to GoDaddy cPanel, Installatron, My Applications and click on the link for mydomain.com/wp-admin
    So I right-clicked on that link and pasted it to the Bookmark property. When I did that the path was really long and not the expected mydomain.com/wp-admin
    GoDaddy was doing a lot more than that to get me in.
    Once I updated the Bookmark with the right path I now have a one click solution to get me to Admin level.

  12. hugo says

    466/5000
    The same thing is happening to me. I was unable to access the administrator when the Polylang add-in is active.

    I have used the method of deactivating the polylang folder (wp-content / plugins / polylang) by ftp, changing its name to « polylang_backup » so that it at least enters the dashboard.

    But I need it to work with the activated polylang. We have a lot of content with the customer already translated.

    * I noticed this happened when I cleared the cache

    Please help

  13. Tunc says

    Thank you for your tutorial. I recently moved my website to https but I realized it put a lot of cpu load on the server so I decided to change it back to http after 3 days. I received the too many redirects error but I was able to fix it following your tutorial and clearing cookies.
    My problem is, the people who visited the https version of my website are getting too many redirect errors and some do not know that they should clear their cookies. Is there any way I can do something on the server side so they won’t get redirect errors?
    Kind regards

  14. Akash Negi says

    Hello wp beginner
    My website was not opening with non www version so i have done some changes like domain forwarding to my own domain (i really don’t know what i was doing). But now i am facing problem. My website has too many redirect loop error. Please help me how to solve this error. It’s very important for me
    Thanks!

    • WPBeginner Support says

      Hi Akash,

      First, you need to undo the changes you made to your website like domain forwarding. Next you need to contact your WordPress hosting provider. Some WordPress hosting providers configure their servers in a way that allows you to automatically redirect users from non-www to www URL and vice-versa. Choose the one and then stick to it and don’t forget to enter your prefered URL in WordPress settings.

      Administrateur

  15. Thomas F. says

    I had this problem after I changed a setting in PLESK. In « hosting settings ». I set « preferred domain » to instead of and couldnt reach my wordpress anymore.

  16. Dave 'Niyi says

    How Blessed & pleasant Today is!
    It took me 51 days to solve all these problems.
    My site problems started with « Error establishing Database Connection ».
    I visited many web forums for help but to no avail, until I changed my host.
    The new host did all they could then my admin back end started working. My site started another error  » Internal Server Error » and this was solved after googling for solution. Then the third error started « Too many redirection ».

    I read this post and did all prescribed solutions, also to no avail. I Continued reading the comments until I came across SARAH HAYES comment. Guess what?
    A single capitalLetter that I used in my domain name caused the error.

    This is what I did:
    I replaced myDomainName.com with mydomainname.com in my wordpress database and my wp-config.php file and the problem was solved immediately.

    What a painful lesson to learn. NEVER USE CAPITAL LETTERS FOR DOMAIN NAMES in your website settings and files.
    always use small letters all through.
    Thanks everyone for sharing.

  17. Sarah says

    I haven’t been able to access Network Admin after installing Multisite with localhost. Since I don’t yet have a site URL, is adding the below lines to my wp-config.php file even a possible solution? What would I put in place of the URL? Any insight into this would be much appreciated. :)

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

  18. Maoz says

    Hey there apparently the wooCommerce plugin did that problem for me and i deactivated it.. but i need a plugin to put in my store… any suggestions ?

  19. Sines says

    Hi there,

    I want to share my solution. I had the same issue and I was searching for a hole day to fix that. I had tried all of the solutions above, but nothing worked for me. For me it has something to do with my hoster.

    After I deactivated my ssl certificate it workt again. So I dug deeper and find the reason. The ssl certifacation was for my domain without « www ». After I activated ssl again and changed this lines in wp-config, everythink worket again:

    FROM
    define(‘WP_HOME’,’https://www.example.com’);
    define(‘WP_SITEURL’,’https://www.example.com’);

    TO (without www)
    define(‘WP_HOME’,’https://example.com’);
    define(‘WP_SITEURL’,’https://example.com’);

    I hope I could help somebody with the same problem.

    Thanks for that article, it brings me on the right way.

  20. nitin verma says

    hey man , I am getting redirect error from last day . can you please help me out , actually when i am searching from google search engine , this error occurs , i have tried the steps as mentioned above but it doesn’t work for me .
    you can also search punjab police physical details , it will not open first time , and when refreshed again it will open .
    Can you please help me out .

  21. Byamugisha Phillimon says

    on which line should i add
    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’); am using atom editor.

      • Byamugisha Phillimon says

        This is the message it shows in my browser, Parse error: syntax error, unexpected ‘:’ in /hermes/bosnaweb10a/b2702/ipg.villsmed/public_html/kob/Freestyle/wp-config.php on line 83. Thanks for your coperation

        • WPBeginner Support says

          The error means that there is an extra colon : in your wp-config.php file’s code at line 83. You need to edit that file using an FTP client, and go to the line 83. The code on that line has a misplaced or unwanted colon.

  22. Fiona says

    Thank you so much – I’m glad i found this. I was able to fix the error after being on hold on support for 2 hours with my host who had no idea!! :) Kudos to you.

  23. Vinita says

    Hi,

    Can you help me out with this redirection issue?

    My Site Address is example.com/some-page.php and wordpress url is example.com/some-page/
    Now google sees both as different pages. So I want to redirect some-page.php to /some-page/
    How am i supposed to do it?
    I used 301 redirection but it gives Redirect Loop Problem error.
    Any help would be highly appreciated.

    • WPBeginner Support says

      Connect to your website using an FTP client. Locate the .php file and download it to your computer as a backup. Once you have it on your computer, you can safely delete it from your server. Your redirects should work fine now.

      Administrateur

  24. musthafa says

    Even i had a same issue « redirected too many times » on all web browsers.The issue was because of « WC Vendors ». I deactivated this plugin after that my site is working perfectly. So deactivate « WC Vendors » everything will be fine..

  25. Sarah Hayes says

    I had this issues and I did everythign that was listed above and still had redirect issuses. The problem was the use of capitals.

  26. Sheila says

    Anyone had the issue during localhost development? I had indeed recently updated plugins, however moving all plugin folders to the trash didn’t help. I do have access to the database: If I add the suggested language to the wp-config.php file,wp-options then shows a « fatal Javascript error ». Further suggestions? The www idea isn’t relevant on localhost (I use the #s url, not localhost: language)

  27. Daniel Lofaso says

    Thanks for the post. My client’s site had this issue and it was caused by a plugin called the « Verve SSL » which alters the https and http URL settings. I deactivated it and no longer got this error. Now we will have to work with our host to troubleshoot further as I don’t know if this is a required plugin for my client’s HTTPS site.

  28. Matthew says

    Thank you. Been searching for hours to work out why pretty links weren’t working and my site had crashed.
    Simple fix
    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    • Manos says

      Hello Matthew

      It seems a very clever fix – thank you for sharing
      However for us the landlubbers – would you be so kind to add only couple of lines to explain, what is exactly you have done and it fixed the issue??

      Many Many Thanks

  29. Juan Torrijos says

    Hello Everyone, I had the same issue (Too many redirects) and I wanted to share my solution.

    I have an intranet with a custom made theme.

    The issue started when I changed the Front End template in Reading Settings, from Your latest post to a Static page. I switched back to Latest Post and it worked.

    I didn’t notice it right away because I was logged in all the time. I only saw it when I tried to log back in. But I had made so many changes that I didn’t know what was the problem right away, leading me to this great post! :)

    • Laura Paulus says

      I have been trying to fix my site for days and nothing worked! I just read your comment and tried it. BAM! Working! Thanks so much for posting this!!!

      • Juan Torrijos says

        Hi Laura, I’m glad it helped.

        It turned out that I was using the wp_redirect( home_url() ) function in my index.php, which generated the home_url() so it redirected back to that same page, which will cause and infinite redirect loop.

        I ended up removing that line of code from the index.php and using the static page as the home page. If the user is not logged in, instead of redirecting it simply displays the login form.

      • Juan Torrijos says

        Hi Dave, I’m glad it worked for you. Did you remove the wp_redirect() function from your index.php or did you change your front page displays in your settings?

  30. Geordie says

    Hi, I had a redirect issue on chrome after changing a setting in my custom permalink. Deleting the .htaccess file for the server to regenerate it fixed the problem. Thank you.

  31. Martin says

    Hi guys,

    recently I installed WordPress and Travelo – Travel and Booking Theme. Everything worked smoothly from the beginning. Then too_many_redirects issue occured on my screen. I have an access to my WordPress Admin Panel. Everything is set well (site url, wordpress url), my permalinks are set on Day and name. I deactivated all plugins, deleted .htaccess file, contacted my host provider (they were nice and trying to help me) and we found out that Travelo theme causing the issue. Everytime I activate Travelo the issue occures. When I change the theme everything is in perfect shape. I concacted Soap Theme Support and waiting for their solution. If you guys have an idea how to fix it, please let me know. Thanks.

    • 33qamar says

      hi @Martin!
      I’ve had same issue tried so many solutions but after a lot of tries i came to know that some .php files of my themes (from Woocommerce) were outdated. after updating everything became ok. Now its working well.

  32. Dipesh says

    I am also facing same problem. But finally i solve it by spending whole day hahah. I mistakenly move the wp-admin folder inside wp-content so i am round the problem whole day………hahah…

    • Glenn says

      Right! A missing wp-admin folder results in the same symptoms. I apparently accidentally deleted my localhost wp-admin folder. Discovered the folder was missing when I went to restore from backup. :P

  33. 33qamar says

    Hey!
    I am also facing this problem and As a regular reader of this blog i come to this blog and reach this post done this all but still there.
    i’ve use a migrator plugin « duplicator » for website megrate from localhost to my hosting.

    The page isn’t working redirected you too many times.
    Try:
    Reloading the page
    Clearing your cookies
    ERR_TOO_MANY_REDIRECTS

  34. e-colori says

    Thank you!

    only adding to the wp-config.com
    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    fixed it! Finally after trying many things!!!

  35. ewan yates says

    Perfect! Turns out my site url was changed by a careless tech support guy. I managed to find and correct the error and now my site is back up and running :)

  36. Jason says

    I am wondering if anyone else has seen redirect issue(s) related to using the plugin named Rename wp-login.php. I like using that plugin to change the default address of wp-admin. I have used it along with a function that adds a specific sting to the end of the login URL (example: ?jedi=theforce). This additional function uses a couple redirects. The function only specifies that if the string is missing or not correct, then redirect to Google. It (I think) has caused the too many redirects on one of my sites. If anyone has a possible resolution, please let us know.

    Thanks!

  37. kulbir singh says

    and second think is this,,,,when i open to this next time on same computer , than that will not redirect on any website ,,,,,if you want to see this problem next time on same computer ,,than clear cookies from same computer and if you try again to open my website than same problem showing

    main consider is this

    if cookies are already store in computer of my website ,,,than this problem not showing
    if i will clear cookies from my computer ,,,than this problem show again

  38. ViralKida says

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    will work well… Thanks….. ADMIN

  39. Marie says

    Thank you so freaking much! I searched last night and searched. This morning after hours of exhaustion trying to figure it out last night. I found your video this morning on this page!

    I so appreciate it!
    Thank you again!

Laisser une réponse

Merci d'avoir choisi de laisser un commentaire. Veuillez garder à l'esprit que tous les commentaires sont modérés selon notre politique de commentaires, et votre adresse e-mail ne sera PAS publiée. Veuillez NE PAS utiliser de mots-clés dans le champ du nom. Ayons une conversation personnelle et significative.