Jump to content
  • 0

Error: Too Many Redirects


Jason Ryan

Question

Hello -

I just migrated my install over to a new host and switched over the DNS and I am getting a "Too Many Redirects" error. The only difference is that before I was on WHM/Cpanel and the install was installed in a subdirectory, and now it was moved to Cloudways/Digital Ocean and set up as a separate application in a root directory. I don't remember if I had to change something in a config file somewhere in order for it to work in a subdirectory or not. Of maybe missing something stupid. Never had this issue before when I moved it the last time.

Anyone have any ideas what could be causing this error?

Thanks

** EDIT **

Got it working by commenting out:

 

# Force HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]

in the htaccess file. 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...