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]
Question
Jason Ryan
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:
in the htaccess file.
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.