Fix redirect error in WordPress

When you see this error it indicates something is causing too many redirects and the server can't complete the request, an infinite redirection loop. This issue is typically caused by incorrect settings for the domain, but could also be caused by third party services like CloudFlare.

The error messages as seen in various browsers:

  • Google Chrome
          This page isn't working
          example.com redirected you too many times.
          Try clearing your cookies.
          ERR_TOO_MANY_REDIRECTS
        
  • Firefox
          The page isn't redirecting properly
          Firefox has detected that the server is redirecting the request for
          this address in a way that will never complete.      
        
  • Microsoft Edge
          Hmmm...can't reach this page      
        

Note: Always backup your WordPress site before modifying any files.

  1. Connect to your website with an FTP client.
  2. Edit the wp-config.php file located in the remote directory your WordPress site is live in.
  3. Update or add the following lines below define('WP_DEBUG', false);:
        define( 'WP_SITEURL', 'http://example.com/wordpress');
        define( 'WP_HOME', 'http://example.com');
    • WP_SITEURL is the Site Address (URL) in General Settings.
    • WP_HOME is the Site Address (URL) in General Settings.
    • Protocol should be either http or https, but never both.
    • Sub-domain should be with www or without www, but never both.
    • Domain can be different if the site requires it(e.g. http://example.com/blog).
  4. Save the changes.
  5. Clear your browser cache.
  6. Navigate to your site in a browser to test if the error is gone.

Next Steps

More info


More info about WPPS.

이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.