Christopher Short Posted January 8 Share Posted January 8 (edited) Popular products list is showing an ip address for the link address. You get this: I have people that clicked and it took them to ftp.csrocketry.com as well If you clear cache, it goes away but returns at some unknown point in the future. Edited January 8 by Christopher Short Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 8 Share Posted January 8 Given that domain names are a courtesy with respect to how computers actually talk to each other, using an IP address is the actual way to initiate communications - given certain conditions. The fact that the IP address remains as part of the link to the site, and is cached, suggests some part of your site is still at an older version -- where such version added the domain name to the URLs built for parts of the skin and then cached. That scenario was fixed many versions ago. When this happens, in the folder /cache/, examine all the files (other than request, sql, and lang) to see which one may have the full domain name (IP Address) in it. You might also ask your hosting provider to configure your web server [host] file to reject accepting IP addresses on port 80 and 443. Quote Link to comment Share on other sites More sharing options...
Christopher Short Posted January 8 Author Share Posted January 8 1 hour ago, bsmither said: Given that domain names are a courtesy with respect to how computers actually talk to each other, using an IP address is the actual way to initiate communications - given certain conditions. The fact that the IP address remains as part of the link to the site, and is cached, suggests some part of your site is still at an older version -- where such version added the domain name to the URLs built for parts of the skin and then cached. That scenario was fixed many versions ago. When this happens, in the folder /cache/, examine all the files (other than request, sql, and lang) to see which one may have the full domain name (IP Address) in it. You might also ask your hosting provider to configure your web server [host] file to reject accepting IP addresses on port 80 and 443. Do you happen to know what version that was fixed in? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 9 Share Posted January 9 According to the GitHub, issue #1134 changed the Shop by Category navigation code that got cached, in CC6012. At about that time, I was also having to add the following to the /includes/global.inc.php file, to force CubeCart to use discreet domain names: $glob['storeURL'] = 'http://www.example.com'; $glob['standard_url'] = 'http://www.example.com'; $glob['ssl_url'] = 'https://www.example.com'; Please know that CubeCart cares not what the "hostname" is, but whatever it is, CubeCart figures it out and remembers it. But, these config settings will override what was used. Which "may" confuse some web browsers -- I am not up to speed on the security and safety measures browsers have lately. 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.