I'm having weird redirect issues
If you’re having redirects you can’t explain, especially redirect loops, check the following:
If you are having redirects you should not have, first clear your browser cache. Completely!
If a wrong redirect is set once as a permanent redirect, your browser will continue to redirect for a LONG time before it checks again if it still should redirect.
The only way to avoid that is to clear your cache!
Some browsers like Safari are really stubborn and will continue to remember permanent redirects even after clearing their cache.
So, you owe it to yourself to try with a different browser before pulling your hair out.
$baseurl you configured in _basic_config.php.
- Is it EXACTLY like the URL of your website?
- Does it include
www.when it should not?
- Does it lack
www.when it should have it?
- Does it have an ending
/? (It MUST !)
See Base URL ($baseurl) for more info.
Each collection or blog has it’s own baesurl, which is generally the global $baseurl with some specific string at the end.
See URL Settings.
Same checklist as above.
If you have a custom
.htaccess file on your site, it’s possible that it generates some redirects. Try to temporarily rename it on your server, then clear your caches and try again.
Created by • Last edit by on Apr 10, 2015