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

    When plugins are the issue (a sort of site appears when the plugins folder in de-activated), chances are you’ve used an ‘under constructions’ plugin when building the site on a temp location. de-activate this plugin first!

  2. Bene

    Hi,
    I’ve followed to the letter this tutorial to move my site from my localhost to my production site. However I’m having issues with accessing the site.
    I’m all good to access the WP-admin dashboard however I cannot get to the website, for some reason it keeps redirecting me to my localhost.
    This is driving me nuts:
    – I’ve updated the wp_ptions both home and siteURL
    – I’ve placed the .htaccess as per the comment
    – I’ve searched my database and could not find anywhere else except on cross-page links localhost
    I really don’t know how this redirect to my localhost is taking place.
    Any hint?

  3. Nate Balcom

    Thanks so much this worked like a champ. It took all of 2 minutes and I was able to get back into my admin. Much appreciated. I’m going to share the bajesus out of this.

  4. kiran dev

    copy plugin folder from wp-content and place it somewhere else then just delete plugin folder from wp-content and reload your wp-admin.php url now it ask for wp login…enjoy but all plugins will deactive and copy plugin folder from where you saved it and paste inside wp-content…..
    now its normal ……

    thanks me later :)))

  5. Dan N

    I’ve been trying to solve this issue. My site works fine and I’ve removed the plugins directory, but I can’t seem to get to my wp-admin page. Anything beyond wp-admin results in 404 and if I go to /wp-admin, it results in ‘too many redirects’.

    Can’t seem to figure it out!!!!! Please help!!

    • WPBeginner Support

      First try the section ‘Change Site URL Without Access to Admin Area’ in the article above. Try adding www to your site URL. If it already has it, then try removing it. If this does not solve your problem, then try these steps.

      Connect to your website using FTP.

      In your site’s root folder, locate the .htaccess file and download it to your computer as backup.

      Edit the FTP file on your webserver and paste this code inside it.

      # 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
      

      Try accessing your website and admin area now.

      Administrador

      • Dan N

        OK so get this. I did all of the possible things from this site and others and absolutely none of it worked. Then I went to do a restore to a previous backup and it got worse. HTTP500s all around.

        After some troubleshooting, it turned out somehow Namecheap’s file permissions got mucked around with (not by me) and once that was fixed by the tech, everything came back up just fine.

        I guess you can’t really rule out SERVER ISSUES even if it isn’t being controlled by you.

  6. Latif

    Thankss aaaaloottt brooooo…. I’ll reinstall my wordpress if i dont find how to fix here hahahahahaha

  7. Intan

    Help please, i added in script into the html body in wordpress.. then my website is not accessible. I have deleted the script but still cannot access my website.any advice?

  8. Jon

    Is it possible that having the url setting you mentioned in your first solution could cause the cycle of redirects if they are set to https but a plugin is forcing all pages but one to http?

  9. Javier

    Hi! Ijust upgraded WP on one of my sites to 4.4.1. After doing so, site loads fine, but when trying out wp-admin, I keep getting a:
    The page isn’t redirecting properly error.
    I tried to delete .htaccess but I don’t see it regenerated. I also tried to rename plugins folder with no luck.
    Permissions seem to be fine, and it is just wp-admin failing.

    Any clues you can share with me?

  10. Rantej

    Just sharing solution that worked for me. I had tried everything including disabling plugins, changing themes, home & site url in phpmyadmin or wp-config etc. But in the end just deleted and uploaded the recent wp-admin and wp-includes folder. Everything is back to normal

    • Laura VAB

      Thanks! Reuploading the folders worked for me when nothing else did!

    • Rantej

      Don’t forget to replace outside wordpress files as well (wp-logon, wp-settings etc) apart from wp-admin & wp-include folders.

    • mad

      Thanks bro It worked for me..

    • neetta

      Thanks a lot. It worked for me too when everything else failed.

  11. Sam

    Had this issue. Added a new SSL certificate. Discovered it was a setting in WooCommerce under Checkout Settings. Had to uncheck the “Force HTTPS after checkout” option. Instead, I used the Force https plugin.

  12. Donna

    Just created a new page on my blog and am getting a redirect loop on it. Just on the one page. All of the other pages seem to work.

    Before it happened I click the buy button and since that it went to redirect. Baffled… but hate the idea of reloading all of the plugins. Hoping there is a shorter solution.

  13. Jamie

    Just the information I was looking for! I changed my DNS then quickly changed back to the original DNS after some issues. Now, I get this error in Firefox and some other browsers. Is this something that my host has to fix?

  14. Shailansh

    Can you please tell me how to check, which plugin is causing the redirect loop error?

  15. Sumon

    hi thanks for nice post, still i am wonder how to solve my website loop error, i am facing problem on particular feed page that is showing error, pls reply to solve my problem

    • WPBeginner Support

      It seems your feed is redirecting to an unauthorized URL. This could mean that your site is infected. Before you do anything else, first deactivate all your WordPress plugins and switch to a default WordPress theme like twenty sixteen. If this resolves your problem then it was an issue with one of your plugins or your WordPress theme. If this does not help, then try steps in our step by step guide fixing hacked WordPress site.

      Administrador

  16. panos

    Thank you very much! You have helped me a lot!!!

  17. Uzair Hayat

    I’m not sure what caused the error on my site upon launch.
    A few users started facing redirect errors including some on my team.
    I believe this was the work of some plugin, but i cant put my finger on it :/

    I was able to fix the problem by removing www from my urls.

  18. Adam

    Thank you for this post. I have been trying to deal with my redirect problem for days. I have tried everything on this site, yet the problem persists. I even did a fresh install. And, while that helped googlebot being able to crawl my site and helped my sitemap not being redirected, I still have a redirect issue when I use the seobook header check tool.

    I even changed the permission to 755 on only the directories of wp_admin. The only thing I haven’t done is delete .htaccess because if something goes wrong there, then I would have to rebuild the site. And, I’ve been at this too long to rebuild it again to have the same problem.

    Is it a hosting issue? I’m with godaddy and the site is carauctiongurus.com . I definitely learned a lot about WordPress having this redirect issue. Can you help?

    • WPBeginner Support

      You can download your .htaccess file to your computer and then delete it from server. If anything goes wrong you can upload the original .htaccess back to the server.

      Administrador

      • Adam

        Thank you. I have done what you asked and the site is still reachable, however SEOBook and MXToolbox still show and infinte redirect loop. Should I give it some time first? Thanks again.

  19. Nikhil

    Thanks for all…

    After research of two days and try everything in that blog….

    Finally I found

    0750 replace 0755

    Done…..

    The Best Blog I Ever seen for Wordpress Solution….

    All Solution at One Place….

    Keep Posting……

    • Strahinja Krstić

      Hey NIKHIL,

      Thanks for your comment. Just one question:

      You said “0750 replace 0755”. Do that numbers mean file permissions for FTP folders?

  20. Craig

    First I want to thank you for your article.

    Some of this worked, all of it help me troubleshoot.
    If you have Woo-commerce installed into your blog for a store add-on there are additional settings added to your Permalink Settings; Common Settings and Product permalink base.

    The Common Settings are for the articles and must be set to any setting other than default or Custom Structure. This will stop the error.
    You helped me, I hope this helps another.

    C-

  21. Taufiq

    Thank you for the tip. It worked! I messed up the WP settings when I changed the site address URL and WP address URL from teasan.com.au to teasan.com.au/organic-matcha ….. the website then went to a redirect loop! Couldnt even log in.

    Downloaded FileZilla and added

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

    as suggested and it worked!! Thank you so much.

    However, now the URLs on the settings are pretty much locked. But its ok, I dont think I will ever change it again!

  22. Teo

    Thanks a lot for this post, really helpful!!

  23. Caroline

    I found that mine was caused by a missing trailing slash “/” at the end of my upload_url_path in the wp_options database table…

  24. Presto

    After looking at several highly technical and complicated to no result, your post did the trick. To me, it was the plugin I chose to include during the WP installation.

    Thanks a lot!

    • Strahinja Krstić

      Hey PRESTO,

      Can you share with us which plugin caused your problem?

  25. Graham Frame

    Tried all teh above and still getting same error?
    Baffled!

  26. Jose

    My website was doing good, but I installed woocommerce plugin on my site and now my website has this error message, so like I read it is good to contact my host?

  27. megan

    if we change mysql username and password
    in cpanel or … and if we don’t edit wp-cofing.php file this error follow us

  28. Sarah Brabazon

    Thank you so much! I read the first paragraph of the tutorial and fixed my problem.

  29. Deepak

    I really appreciate for this tutorial with simple explanation.

    Thanks.

  30. manohar

    Am glad you are doing this , Create job with simple explanation. Thanks.

  31. Josh

    I tried this solution and it completely complicated things even more, making the issues much worse. Be careful, always seek out the help of a professional developer before playing around with areas like this in your website.

  32. David

    Great post. I also had the issue of the redirects and here is one solution that I came across just recently. I had deactivated the plugins and had the url in the proper locations. What happened is that I transferred the site over to another host. The issue that I came across was the php.ini file that was causing the issue. Some servers will let you put in a custom .ini file while others do not. I deleted the .ini file since it was not needed in the new server since I set the php files to be all the same for multiple accounts. Once I did that, I was able to log in the site as usual.

    • sandeep

      David,

      Could you please elaborate on how you resolved the issue. I am facing the same probelm, we moved the site to a new host and new domain name. The urls are proper and there are no plugins. we have multiple sites hosted. If multisite is set to false, login page works fine,but cant see any sites in the dashboard. If multisite is set to true, getting too many redirects issue. The url is being pointed to new-domain-name/wp-signup.php?new=new-domain-name

      if I could fix this too many redirects issue, I should be able to view my sites in dashboard (also I have do search/replace in wordpress database (interconnectit script)

      “Some servers will let you put in a custom .ini file while others do not. I deleted the .ini file since it was not needed in the new server since I set the php files to be all the same for multiple accounts.”

      Did you delete the php.ini file in /etc/php5/apache2/php.ini ?

      Looking for urgent help. Thanks in advance !!

  33. Odinekachukwu Ishicheli

    Admin, Now I am having issues with my pages. The homepage is the only thing working.

    • WPBeginner Support

      Login to admin area of your WordPress site. Go to Settings -> Permalinks. Click on the save changes button at the bottom of the page. View your website to see if it worked.

      Administrador

  34. Odinekachukwu Ishicheli

    I can’t thank you enough for this. M site has been giving me the “redirect error” since February and even after deactivating all plugins still had the same issue, until I looked for my .htaccess file from my cPanel and delete.

    Thank you so much for the help, I am stuck now to your site learning all the little tips and tricks after running away from my software engineering classes.

  35. emile

    hi there,

    i tried all of the above and it still won’t work.

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

    with and without the www.

    i tried deleting the .htaccess and deactivating all the plugins and ‘This webpage has a redirect loop’

    ‘ERR_TOO_MANY_REDIRECTS’ is still showing.

    can someone help me?

    thanks

  36. Asif Shahzad

    I am using cloudflare ssl and i am getting same error check this screenshot http://prntscr.com/6rhjtb how can i fix this ssl redirect loop error?

  37. Ernest

    Hi
    Just wanted to thank you for this. I’ve been struggling with a specific plugin and your recommendations help me fix it.

    I haven’t found a solution for the layman anywhere else.

    Thanks.

  38. Ashish Makwana

    Hi every body,

    i also have same problem but solution is here:

    1)
    Ref :https://www.wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress/
    Open wp-config.php and add these two lines
    define(‘WP_HOME’,’http://yourdomain.com’);
    define(‘WP_SITEURL’,’http://yourdomain.com’);
    /*also add below */
    /*Ref :https://tommcfarlin.com/resolving-the-wordpress-multisite-redirect-loop/*/
    define(‘ADMIN_COOKIE_PATH’, ‘/’);
    define(‘COOKIE_DOMAIN’, ”);
    define(‘COOKIEPATH’, ”);
    define(‘SITECOOKIEPATH’, ”);

    /*and in last if you have apply code for canonical url into ,htacces then comment it means disabled it but not remove */
    take backup first .htaccess file then do above change.

    Enjoy your day!!!!!!!!!

  39. Andre

    OMG! I simply have no words to thank you. I’m about 10 hours trying to fix this issue to install wordpress and I’ve read a thousand blogs and couldn’t fix it.
    Editing config.php with those two first lines solved the problem.
    Thank you very much.
    Succes for you!

  40. WPBeginner Staff

    No they do not. People usually assume that applying permissions recursively on directories should also affect files inside directory. This is not correct. You can have different permissions for directories and different permissions for files inside the directory.

  41. robrecord

    Well, I am totally flummoxed. I have one site in a multisite install that only does this SOMETIMES. For example, Earlier today the site was fine and I was loading it up on multiple browsers and multiple machines. I have not touched the config or anything on the backend, and now it’s ‘too many redirects’. This has been going on for weeks. Really need this to be fixed!

    I’ve verified permissions. I’ve verified & reset permalinks settings. I’ve removed cookies. I’ve verified & reverified domain mapping settings. Checked home & site URLs. Checked SEO settings. Reset nginx page cache and WC3 object cache. Disabled browser cache. Disabled all WP plugins.

    It’s only saying ‘too many redirects’ for the home page; I can log in to admin and view other pages.

    I appreciate all help so far… Does anyone have any further suggestions please?

    • Paul Vincent

      Hi, did you ever find a solution to your issue with the occasional too many redirects issue? I’m experiencing the same problem – it occurs once or twice a day for anonymous users, but anyone signed in is fine, which makes me assume it’s a cache problem, but so far nothing has fixed the issue…

      Thanks,
      Paul

  42. uhhm.net

    just fyi, anyone trying to solve this issue where other conventional suggestions do not work…

    make sure your owner/group permissions are correct.

    ie, if you manually uploaded wp-admin & wp-includes via your root login, you will need to change folder/file ownership and group to whichever account your wordpress installation is on.

    to change ownership/group from shell:

    chown -R ownername:groupname foldername

    ie:

    chown -R wpaccount:wpaccount wp-admin
    chown -R wpaccount:wpaccount wp-includes

    this applies to cPanel, Linux, Unix installations etc.

  43. WPBeginner Staff

    First create a backup of your website download all your files and backup your database using phpMyAdmin.

    After that delete your .htaccess file

    Open wp-config.php and add these two lines

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

    Replace example.com with your own domain name.

    If you are not seeing error too many redirects issue but seeing white screen. Then try these steps:

    https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death/

    If this doesn’t help then select your wp-admin folder in FTP client and change file permission to 755. Make sure you check to apply the permissions recursively and apply it to all the directories inside wp-admin. Do not set it for all files resursively, just the directories.

    • robrecord

      “Make sure you check to apply the permissions recursively and apply it to all the directories inside wp-admin. Do not set it for all files resursively, just the directories.”

      These sentences appear to contradict each other.

  44. Nabil Kadimi

    A few more tricks that can help:
    * Re-save your permalinks structure
    * In permalinks settings, remove any non-alpha-numeric characters from the bases

  45. R0ckland

    Thanks for this. Took my some time to get this working but your blog sorted it out for me.

    Cheers.

  46. Pamela

    Thanks for the information. Based upon what you said, I thought I may have a conflict with an SEO plug-in that I recently installed, but my redirect problem was with one new post. In the settings for the plug-in, I saw that “create autogenerated description” was checked. Since I am writing my own descriptions, I unchecked that (thinking that it may create a conflict). But that didn’t change anything.

    Elsewhere, I read that the redirect error could be caused by changing the post title when the permalink is set to post title. Since I have a new assistant helping me with the blog, I thought maybe this had happened.

    Before unplugging all of the plug-ins, I created a new post, pasted the text from the post with the redirect error, deleted error-prone post, and published the new post. Now it works!

  47. Jason George

    Thanks for your information. I have also read that this can be caused by a file permissions issue on wordpress folders. The article mentioned verifying that the permissions are set to 644 on all of your wp-admin folders and files. Hope this helps someone out.

  48. Evelyn Guzman

    I’m glad you’re doing this and you’re doing a great job. I also feel great to be following you because I have 2 big problems with WordPress so I am watching for these. One is on getting a lot of spams and I have Akismet on. Perhaps the problem is that in the comment box, WordPress puts down by default my user name and the clickable word logout instead of getting prospective commenters to login.

    • robrecord

      You would only see your name as the user name because it’s you, and you are logged in. Everybody else sees a blank login box.

    • Uzair Hayat

      You can actually try using disqus for your commenting. :)

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.