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?

 
waylonrobert replied on at Permalink Reply
You're getting a redirect loop on your local machine?
tyssen replied on at Permalink Reply
Yep.
JohntheFish replied on at Permalink Reply
JohntheFish
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.
tyssen replied on at Permalink Reply
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.
tyssen replied on at Permalink Reply
As it turned out, commenting out BASE_URL solved the issue.