Kristoff Posted January 7, 2014 Share Posted January 7, 2014 Got a strange issue that's happened twice now, the store address has reverted back to the old store address, meaning there is an issue when you click on the links it tries to go to the old URL and causes an error because of the SSL Certificate being on the new address. Anyone got any idea why this would happen? A cache clearing seems to sort it out, but it's a pain to have to keep checking it. Quote Link to comment Share on other sites More sharing options...
Toucan Web Design Posted January 7, 2014 Share Posted January 7, 2014 Is it only on certain sections, like the category nav? If so, I've seen something similar to that happening before also, I can't remember what was actually causing it unfortunately If you want to drop us a PM with the url in, I'll take a quick look and see if it looks familiar Quote Link to comment Share on other sites More sharing options...
Kristoff Posted January 7, 2014 Author Share Posted January 7, 2014 As far as I can see it's just categories on the navigation, but I can't be certain. To be honest I felt the need to clear the cache rather investigate as people may have been on the site! Next time I will investigate more. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 7, 2014 Share Posted January 7, 2014 I generally do not run my installations with caching enabled. As such, I don't have certain files in my cache folder that others may have. That said, please look in the /cache/ folder for this file: hash5.html.kurouto.menu.en.cache where hash5 is any 5 characters, kurouto is the name of the skin your store is showing, and en is the language your store is showing. If it's there, you will find (after decoding it) that the file includes the domain name of your store (caused by less than ideal programming). A such, all it takes is one visit to the store using the old domain name to cache the file with that old domain name. Clearing the cache removes that file. Immediately follow with a call to the site and the file will get rebuilt with the domain name used (the new one, hopefully) and re-cached. However, all cached files have a lifetime, and when expired, the file will be destroyed. When that time comes, the file will be rebuilt using whatever domain name was used to visit your store, and that is what will be in the newly cached file. We can try to adjust the CubeCart code, or you can create/edit an .htaccess file that sends a "302 Moved" response for any request using the old domain name. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.