Navigation

    • Register
    • Login
    • Search
    • Recent
    • Users
    • Groups

    How can I fix the "ERR_TOO_MANY_REDIRECTS"?

    CWP - Panel
    2
    5
    60
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jesu VIllaWolf
      Jesu VIllaWolf last edited by

      Hi Sandeep once again, I've been tooning up the server and everything goes well, I don't know what I mess up but I came out twith the error of too many redirects, I've try that client side sugested fixes (flush dns, clear cache) and all that, but it does not work, I know it was something I did in the server but I don't know where to look for a fix.

      the odd thing is that the wordpress site loads as expected, but when I try to access the backend of wordpress the error comes out.

      Master SanDeep please show me the way...!!

      alt text

      Thanks in advance.

      sandeep 1 Reply Last reply Reply Quote 0
      • sandeep
        sandeep @Jesu VIllaWolf last edited by sandeep

        @jesu-villawolf
        https://www.mysterydata.com/apache-http-to-https-htaccess-redirect-on-cwp-centos-webpanel/

        remove any http to https redirect before adding below rule.

        add this to htaccess :

        SetEnvIf X-Forwarded-Proto "https" HTTPS=on
        RewriteEngine on
        RewriteCond %{HTTPS} !=on
        RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
        RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
        
        Jesu VIllaWolf 1 Reply Last reply Reply Quote 0
        • Jesu VIllaWolf
          Jesu VIllaWolf @sandeep last edited by

          @sandeep Sorry Sandeep, I try that one with no luck, I also tryed some other alternatives to the redirect code with no luck, I really don't know what to do...!!

          Is there a way CWP is overriding what I try to do to the .htaccess file in the local site with the redirect code?

          sandeep 1 Reply Last reply Reply Quote 0
          • sandeep
            sandeep @Jesu VIllaWolf last edited by

            @jesu-villawolf probably your script have some module plugins which is redirecting. Disable all plugins and check.

            Jesu VIllaWolf 1 Reply Last reply Reply Quote 0
            • Jesu VIllaWolf
              Jesu VIllaWolf @sandeep last edited by

              @sandeep It's the first account I was goint to migrate, there is nothing installed, what I did was Clear all cache from browser, Fresh install, everything goes OK, but when I try o access WP-ADMIN.PHP to get into wordpress backend the ERR_TOO_MANY_REDIRECTS comes out, not in the frontend.

              Maybe I modify something before from the main isntall at CWP, something that is forcing apache to do this.

              UPDATE
              I wrote the above message lastnight, IT WAS NOT WORKING, this morning I clear everything once again on a fresh install, GUESS WHAT, is working.

              SOLVE for now.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post

              Recent Topics

              • Centos 8 Stream CWP - Delayed Update and CWP repositories are added

              • Update NGINX Stable v1.16.1 to latest NGINX Stable v1.18.0 for CWP & CWP PRO!

              • Phpmyadmin New Verison with autologin - CWP

              • PHP 8.0.0 testing - CWP

              • M

                Install php 7.4 on cwp

              • How to update phpMyAdmin v4.7.9 outdated version to the latest phpMyAdmin v4.9.2 for CWP and CWP PRO for Centos 7 !

              • How to Get A+ Score Rating with SSLLabs Qualys in CWP – Control web panel

              • Error cronjobs

              URLs HOME | Blog | Support Portal