bobdonkey Posted April 9, 2015 Share Posted April 9, 2015 Hi, I have a problem with the category menu, it is sometimes using a path which is the IP Address of the server, e.g. http://151.252.0.72/mobile-phones.html, instead of the site name. This is the IP of the server, but results in an SSL error. I have set the store path in the SSL settings, and otherwise SSL is working fine. Any ideas? Thanks Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 9, 2015 Share Posted April 9, 2015 This can happen if the cache is rebuilt when the store is visited from a "bad" domain or IP address. I would recommend forcing all traffix though only one route. This will fix this issue and prevent duplicate content which can affect your SEO. To do this you can force the domain like this; Edit your .htaccess file along these lines: RewriteEngine on RewriteCond %{HTTP_HOST} !^www.example.com$ RewriteRule ^(.*)$ http://www.example.com/$1 [R=301] Quote Link to comment Share on other sites More sharing options...
bobdonkey Posted April 9, 2015 Author Share Posted April 9, 2015 Thanks Al! 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.