Peter Knight Posted February 11, 2016 Share Posted February 11, 2016 Hi guys I made a copy of a live site (Site A) onto my local development environment to develop Site B. Anytime I try access siteB:888 I am getting redirected to the live site URL This is pretty common and normally I just update the config.php and change the HttpHosts line to the local site but in this case it's not working. I suspect it's because I have the Config Module installed which references SiteA and is clearly over-riding my site/config.php. Problem is, I can't access SiteB:8888/processwire to disable it Is there anywhere else on a file-level where I can reset the HttpHost or anywhere else in the database which I can edit? My .htaccess doesn't reference SiteA at all so thats not the issue. Thanks Link to comment Share on other sites More sharing options...
LostKobrakai Posted February 11, 2016 Share Posted February 11, 2016 The config module does store it's values in a json file somewhere in assets/cache iirc. Link to comment Share on other sites More sharing options...
cstevensjr Posted February 11, 2016 Share Posted February 11, 2016 Anytime I try access siteB:888 I am getting redirected to the live site URL Problem is, I can't access SiteB:8888/processwire to disable it I would take that your first reference was a typo and should have been port 8888 vice 888? Link to comment Share on other sites More sharing options...
Peter Knight Posted February 11, 2016 Author Share Posted February 11, 2016 I would take that your first reference was a typo and should have been port 8888 vice 888? yes - just a typo. Original issue still in effect. No luck with the cache folder. I've done the following temporarily renamed /assets/cache disabled ProCache before I copied the files renamed the ProCache folders and pwpc folders (even though they shouldn't matter) looked in htaccess updated the HttpHost in site/config.php checked it was connecting to correct database (shouldn't matter) Assuming the issue is the ConfigModule, is it ok to manually remove that from the database? Link to comment Share on other sites More sharing options...
BitPoet Posted February 11, 2016 Share Posted February 11, 2016 The config module does store it's values in a json file somewhere in assets/cache iirc. AFAIR it's in assets/config. Link to comment Share on other sites More sharing options...
Peter Knight Posted February 11, 2016 Author Share Posted February 11, 2016 No luck with any of those. Tomorrow I'll try again. Link to comment Share on other sites More sharing options...
Peter Knight Posted February 12, 2016 Author Share Posted February 12, 2016 I've fixed it somehow. I'm pretty sure this was a result of some aggressive caching in Chrome. I had the same issue in Safari but it seemed to resolve after a few hard refreshes. Even after I duplicated a different site and database into the folder, I was still being redirected to SiteA. Link to comment Share on other sites More sharing options...
szabesz Posted February 12, 2016 Share Posted February 12, 2016 I sometimes have similar issues with Safari and Chrome. Chrome "Cache Killer" extension to the rescue Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now