Copied C5 site from remote to local and get redirect loop error
Permalink
I'm working on a C5 site that someone else set up so have copied it to my local machine to work on. I've downloaded all the files and imported the db, updated config/site.php with my local details but when I access any URL I get a redirect loop error.
I've already tried removing .htaccess. What else should I be looking at?
I've already tried removing .htaccess. What else should I be looking at?
You're getting a redirect loop on your local machine?
Yep.
You can check the cache and pretty urls are disabled in the config table of the database. Then delete all files in the cache directory.
I've set URL_REWRITING and ENABLE_CACHE to 0 and then emptied /files/cache/ Is that what you meant? Because I'm still getting the same thing.
As it turned out, commenting out BASE_URL solved the issue.