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

Como corrigir o problema do erro “Too Many Redirects” no WordPress

O problema “Error too many redirects” é um erro do WordPress que pode ser causado por um plugin ou por configurações incorretas. Na verdade, esse é um dos erros mais comuns vistos por nossos leitores e outros usuários do WordPress.

Esse erro pode até mesmo bloquear o acesso ao seu site, o que o torna um pouco difícil de corrigir. Felizmente, já solucionamos o problema do excesso de redirecionamentos várias vezes, por isso sabemos exatamente o que fazer.

Neste artigo, mostraremos a você como corrigir facilmente o problema “Error too many redirects” no WordPress. Também abordaremos como recuperar o acesso ao seu site e solucionar o erro.

Fixing too many redirects error in WordPress

Dica de especialista: Prefere deixar a solução de problemas para os profissionais? Nossos serviços de suporte do WordPress podem corrigir seu erro em pouco tempo e colocar seu site em funcionamento novamente. Além disso, oferecemos correções únicas, portanto, você não precisa se preocupar com contratos contínuos.

O que causa o problema do “Erro de muitos redirecionamentos” no WordPress?

O “Error too many redirects” é causado por um problema de redirecionamento mal configurado no WordPress.

Como você já deve saber, o WordPress tem um recurso de estrutura de URL amigável para SEO que usa a função de redirecionamento. Da mesma forma, muitos plug-ins populares do WordPress usam esse recurso para configurar redirecionamentos temporários, criar redirecionamentos 301 permanentes e corrigir erros 404.

Se você estiver usando um plug-in para corrigir o problema de conteúdo SSL inseguro ou um plug-in de cache do WordPress, isso também poderá afetar os redirecionamentos e causar o erro “too many redirects”.

Esta é a aparência da mensagem “ERR_TOO_MANY_REDIRECTS” no Google Chrome.

Error Too Many Redirects in Google Chrome

No entanto, esse erro não informa o que está causando o conflito e forçando o loop de redirecionamento no WordPress.

Esta é a aparência do erro no Firefox com a mensagem “A página não está sendo redirecionada corretamente”.

Too many redirects error in Firefox

Dito isso, vamos dar uma olhada em como corrigir o problema do erro “too many redirects” no WordPress.

Vamos orientá-lo na solução de problemas passo a passo, obtendo acesso ao seu site WordPress e evitando que o erro ocorra novamente.

Tutorial em vídeo

Subscribe to WPBeginner

Se você preferir instruções por escrito, continue lendo.

1. Limpe os cookies e o cache do navegador

Uma causa comum do erro pode ser os cookies do navegador da Web. Tente acessar seu site usando um navegador diferente, como Firefox, Safari, Opera ou Microsoft Edge.

Se for possível acessar o site normalmente usando um navegador diferente, será necessário limpar os cookies e o cache do navegador em seu navegador normal.

Clear cookies and cache in Google chrome

Temos um guia detalhado sobre como limpar o cache do navegador em todos os principais navegadores que o ajudará a fazer isso.

Por outro lado, se a alteração do navegador não resolver o problema, você poderá passar para a próxima etapa.

2. Desativar todos os plug-ins do WordPress

A causa mais comum dos loops de redirecionamento do WordPress ou “ERR_TOO_MANY_REDIRECTS” é um conflito de plugins. Um plug-in do WordPress que tenta configurar um redirecionamento de uma forma que entra em conflito com os redirecionamentos padrão do WordPress pode causar essa mensagem de erro.

Para corrigir isso, você precisa desativar todos os plug-ins do WordPress em seu site. Normalmente, basta acessar a página Plug-ins ” Todos os plug-ins na área de administração do WordPress e desativar os plug-ins a partir daí.

Deactivate all plugins

No entanto, supomos que, devido ao erro de redirecionamento, talvez você não consiga acessar a área de administração do WordPress.

Nesse caso, será necessário desativar os plug-ins do WordPress usando um cliente FTP como o FileZilla ou o aplicativo Gerenciador de arquivos no painel de controle da hospedagem do WordPress.

Basta conectar-se ao seu site usando um cliente FTP e acessar a pasta /wp-content/.

Renaming the plugins folder using FTP

Lá você encontrará a pasta plugins, que precisa ser renomeada para ‘plugins.deactivate’.

Isso desativará todos os plug-ins do WordPress em seu site.

Renamed plugins folder

Basicamente, o WordPress procura uma pasta chamada plugins para carregar os arquivos de plugin. Quando não encontra a pasta, ele desativa automaticamente os plug-ins ativos no banco de dados.

Agora, você pode tentar acessar seu site do WordPress. Se for possível fazer login na área de administração do WordPress agora, isso significa que um dos plug-ins estava causando o erro.

Para descobrir qual plug-in foi o culpado, você precisa voltar ao cliente FTP ou ao aplicativo Gerenciador de arquivos e renomear a pasta plugins.deactivate de volta para “plugins”.

Depois disso, vá para a área de administração do WordPress do seu site e acesse a página Plugins ” Todos os plugins. A partir daí, você pode ativar seus plug-ins um a um e, em seguida, visitar seu site para ver se consegue reproduzir o erro.

Depois de encontrar o plug-in que está causando o erro, você pode encontrar uma alternativa para esse plug-in ou relatar o problema ao fórum de suporte do WordPress do plug-in.

3. Corrigir URLs do WordPress

Outra causa importante desse erro é uma configuração incorreta nas definições de URL do WordPress. Normalmente, você pode visualizar essas opções na página Configurações ” Geral.

WordPress URL settings

Para a maioria dos sites, os URLs nos campos Endereço do WordPress e Endereço do site devem ser os mesmos. No entanto, alguns usuários podem acabar usando “www” em um URL e um URL não www no outro.

Como talvez você não tenha acesso à área de administração do WordPress, talvez seja necessário corrigir os URLs do WordPress usando um cliente FTP ou o aplicativo File Manager.

Basta conectar-se ao seu site WordPress usando um cliente FTP e acessar /wp-content/themes/your-theme-folder/.

Edit functions.php file

A partir daí, você precisa localizar o arquivo functions.php e editá-lo usando um editor de texto simples, como o Notepad ou o TextEdit.

Em seguida, você precisa adicionar o seguinte código na parte inferior:

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

Não se esqueça de substituir “https://example.com” pelos URLs de seu próprio site. Agora você pode salvar as alterações e carregar o arquivo de volta ao seu site.

Depois disso, tente visitar seu site para ver se isso resolve o erro.

Para obter mais métodos, consulte nosso tutorial sobre como alterar facilmente os URLs do WordPress.

4. Redefinir o arquivo .htaccess do WordPress

O arquivo .htaccess é um arquivo especial usado pelo servidor do site para gerenciar redirecionamentos e outras configurações do servidor. O WordPress também usa esse arquivo para URLs amigáveis para SEO e outros redirecionamentos.

Às vezes, os plug-ins do WordPress podem fazer alterações no arquivo .htaccess do seu site, o que pode acionar esse erro. Também é possível que a desativação de um plug-in não remova essas alterações do seu arquivo .htaccess.

Nesse caso, você precisará redefinir manualmente o arquivo .htaccess do WordPress.

Novamente, você precisará acessar seu site usando um cliente FTP ou o aplicativo Gerenciador de arquivos no painel de controle de sua hospedagem. Uma vez conectado, você verá o arquivo .htaccess na pasta raiz do seu site.

Editing .htaccess file via FTP

Observação: se não conseguir encontrar o arquivo .htaccess, consulte nosso guia sobre como localizar o arquivo .htaccess no WordPress.

Primeiro, você precisa fazer o download de uma cópia do arquivo .htaccess para o seu computador como backup. Depois disso, você pode prosseguir e excluir o arquivo do seu site.

Agora você pode tentar visitar seu blog do WordPress. Se tudo funcionar normalmente, isso significa que o arquivo .htaccess estava causando o erro de redirecionamento.

Agora, como excluímos o arquivo .htaccess, você precisará recriá-lo. Normalmente, seu site WordPress pode fazer isso por conta própria. Para ter certeza, basta acessar a página Configurações ” Permalinks e clicar no botão “Salvar alterações” na parte inferior.

Refresh permalinks to create .htaccess file

5. Como evitar muitos redirecionamentos de erro no WordPress

Esperamos que as etapas que acabamos de abordar tenham corrigido o problema de redirecionamento em seu site. Se elas não resolveram o problema, talvez seja necessário falar com a empresa de hospedagem do WordPress para garantir que não haja um problema no servidor.

Depois que eles corrigirem o problema em seu site, você também poderá descobrir a causa.

Se for um plug-in, você precisará relatar o problema ao fórum de suporte do plug-in. Consulte nosso guia sobre como solicitar suporte do WordPress. No entanto, se não conseguir obter ajuda, você sempre poderá encontrar um plug-in alternativo que faça a mesma coisa.

Se o erro tiver sido causado por uma configuração incorreta do site do WordPress, você poderá anotá-lo e garantir que as configurações do site sejam definidas corretamente.

Para obter mais dicas, consulte nosso tutorial detalhado sobre como solucionar problemas do WordPress por conta própria como um verdadeiro profissional do WordPress.

Esperamos que este artigo tenha ajudado a resolver o problema do “erro de muitos redirecionamentos” em seu site. Você também pode querer marcar nosso manual definitivo de erros comuns do WordPress e ver como entrar em contato com o suporte do WordPress.

Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

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.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

302 ComentáriosDeixe uma resposta

  1. Akash Gadiya

    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!

  2. alin

    that’s work great for wordpress.
    many thanks!

  3. Jason Lee

    It can be fixed by disable or enable plugins on WordPress Tools.

  4. Caspian Canuck

    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.

  5. Muqarrab Zaidi

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

  6. Muqarrab Zaidi

    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

  7. Webadmin

    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.

  8. Amber

    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

      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.

  9. Lookman

    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

  10. hossam elbadry

    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

  11. Romas

    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

      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.

      Administrador

  12. Balamurugan

    Thank you so much.Just saved my day.
    Accidently i changed my site url.thanks for the help

  13. Graham

    Thank you! Fixed my redirect issue by turning off a WordPress HTTPS plugin!

  14. Alex Lucchesi

    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.

  15. hugo

    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

  16. Tunc

    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

  17. Akash Negi

    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

      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.

      Administrador

  18. Diego

    You are the man!!! thank you so much for this article.. it solved my problem

  19. Thomas F.

    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.

  20. Dave 'Niyi

    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.

  21. mamun

    I plugged one last time. I read this article and unplugged. My problem is solved. Thanks for your article.

  22. Sarah

    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’);

  23. El

    I deleted the. htaccess file and everything worked fine.

  24. Maoz

    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 ?

      • Nathan

        I have the same issue happening to me.

        I uninstalled Woocommerce, then re-activated it, and every time I get the error message.

  25. Musab Kara

    try to change permalink

    • sadiq ali

      thanks very much it works.

  26. Sines

    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.

    • Oliver Gehrmann

      You, good sir, are a lifesaver! Thank you very much! :)

    • Ray Fadly Franata

      Where i put the two lines on config.php ?

  27. nitin verma

    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 .

    • Armie

      Check the .htaccess

      That’s how I fix my problem.

      Hope this helps.

  28. Byamugisha Phillimon

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

      • Byamugisha Phillimon

        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

          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.

  29. Fiona

    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.

  30. Vinita

    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

      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.

      Administrador

  31. musthafa

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

  32. Sarah Hayes

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

  33. Sheila

    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)

  34. Daniel Lofaso

    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.

  35. Matthew

    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

      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

  36. Juan Torrijos

    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

      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

        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.

    • Dave

      Juan, you nailed it! That worked for me. Thx!

      • Juan Torrijos

        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?

  37. Geordie

    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.

  38. Martin

    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

      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.

  39. Dipesh

    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

      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

  40. 33qamar

    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

    • ChrisSnipe

      I have the exact same problem, did you get a solution 33qamar?

      • Kyle

        I’ve had the same issue after migrating the site to a new hosting provider. Can anyone help us? We’re getting “too many redirects” with a newly migrated site.

  41. e-colori

    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!!!

  42. ewan yates

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

  43. Jason

    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!

  44. kulbir singh

    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

  45. ViralKida

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

    will work well… Thanks….. ADMIN

  46. Angie

    Oh my goodness, you are the best. I couldn’t find this fix anywhere else!!!

  47. Marie

    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!

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.