A WordPress website is not accessible: ERR_TOO_MANY_REDIRECTS

Follow

Comments

8 comments

  • Avatar
    Kiwami Livingston

    It does this for every single site I set up.. Is there a fix for that ? 

    0
    Comment actions Permalink
  • Avatar
    Konstantin Annikov

    Are you sure that the following symptom is actual for every affected website: 

    2. In Mozilla Firebug or Chrome Web Inspector there are endless redirects from www.example.com to example.com and vice versa.

    If yes, this means that every WordPress website is misconfigured.

    Please check that WP_HOME and WP_SITEURL are the same and that preferred domain is set to the same value as WP_HOME under Plesk > Domains > example.com > Hosting Settings

    That should be done for every affected website. 

     

    0
    Comment actions Permalink
  • Avatar
    Kiwami Livingston

    Yes.. If I modify wp-config.php  WP_HOME and WP_SITEURL the problem goes away. 

    My question is why do I have to do that to every single wordpress site I create via the Wordpress Tool ? 

    Am I missing a configuration step?

    0
    Comment actions Permalink
  • Avatar
    Konstantin Annikov

    Hello, 

    Could you please describe how the WordPress was configured? I see here two possible ways: 

    1. Configure WordPress and then configure redirection in Plesk

      - Install WordPress right after site creation (WP_HOME and WP_SITEURL would be http://example.com)
      - Configure SEO 301 Redirection in Plesk (Redirect would works from http to https)

      In this case, "too many redirects" error may occurs. 

    2. Configure all needed redirects and then install WordPress 

      - Configure SEO 301 Redirection in Plesk (Redirect would works from http to https)
      - Install WordPress after that (WP_HOME and WP_SITEURL would be https://example.com)

      In this case, all will be configured properly and WordPress would work as expected. 

    So, I recommend you to install WordPress after configuring all redirections in Plesk. 

    If this does not work for you, please get back to us. 

     

     

    0
    Comment actions Permalink
  • Avatar
    Unknown User

    It works nicely. Thank you.

    I think plesk is a great control panel, but it still has some issues that have to be fixed.

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @Alwan Rosyidi

    Thank you for for your kind words about Plesk :) We are working hard to fix those issues and make Plesk even better!

    0
    Comment actions Permalink
  • Avatar
    Cowboy Bill

    Another source of "too many redirects" when using some Plesk configurations with Wordpress is SSL setup. If you're using Cloudflare you may need to change the SSL setting from "Flexible", the default value, to "Full (Strict)" in the Crypto tab if you aren't using Cloudflare's certificate. 

    1
    Comment actions Permalink
  • Avatar
    Daria Gavrilova

    Hello @Cowboy Bill,

    Thank you for your notice!

    We also have the article on this matter and I modified the current one with this additional information.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request