Redirect loop when using 301 redirects
-
I have recently changed a clients site to HTTPS.
Everything works fine on HTTPS but when I try and add any Rewrite rules to .htaccess, to force any Google links pointing to HTTP to redirect to HTTPS (via 301) then the site goes into a redirect loop. It also goes into a redirect loop if I try and use any redirect plugins to achieve it.
In the Dashboard everything looks correct except for the Site Address (URL) for the main site: /wp-admin/network/site-info.php?id=1
There it shows as http but it’s not directly editable from that screen, or anywhere else in the Dashboard.
From that screen the URLs are correct in the Settings tab, just not on the Info tab.
I’ve searched the DB for any instances of the site URL as HTTP but can’t find any. Could it be stored as a different type of string?
I don’t know if that instance has anything to do with redirect loops but I can’t find any other cause. I’ve looked at countless other threads across google for this type of problem but none of them have offered a resolution for my particular case.
I’ve contacted the hosting company but they’ve now gone quiet on the matter.
- The topic ‘Redirect loop when using 301 redirects’ is closed to new replies.