mangcreative Posted March 27, 2014 Share Posted March 27, 2014 CuebCart 5 We have a site that is working fine in terms of navigation and design. However when we turn on the "Enable SEO URLs" the design on the category and product page doesn't format correctly. Can anyone help ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 27, 2014 Share Posted March 27, 2014 We would like to see this in action, if possible. What would be the web address? If not publicly viewable, maybe some screenshots? Quote Link to comment Share on other sites More sharing options...
mangcreative Posted March 27, 2014 Author Share Posted March 27, 2014 Thank you for your reply. Example pages are : Category looks fine : http://www.bcsoftwear.eu/towelsoft/shop-by-occasion.html Sub Category looks fine : http://www.bcsoftwear.eu/towelsoft/new-baby.html Product Page : http://www.bcsoftwear.eu/towelsoft/bathrobes/children-s-bathrobes/supersoft-fleecy-children-s-bathrobes-p330-p331-p332.html Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 27, 2014 Share Posted March 27, 2014 The essential difference I see is that the product page is not calling the 'global-en.css' file. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 27, 2014 Share Posted March 27, 2014 In the <head> section of your main.php template, you have this:<link media="all" href="Styles/global-en.css" type="text/css" rel="stylesheet"> The browser gets a page from an adress such as: http://www.store.com/towelsoft/bathrobes/children-s-bathrobes/supersoft-fleecy-children-s-bathrobes-p330-p331-p332.html The browser does not know where the actual path to CubeCart ends and the SEF path begins. When a link is a "relative" link, that is, when a link does not start with a slash, or does not start with a full URL, the browser will use what it thinks is the path to where the file is located. That is typically the complete path the page came from, starting at 'towelsoft' and ending at children-s-bathrobes. The browser asks for the file where in 'children-s-bathrobes', there is a folder named 'Styles' and then the actual file 'global-en.css'. When using SEO mode, where "fake" paths are appended to the real path, you must use full URLs. Try making the link look like this:<link media="all" href="{$STORE_URL}/styles/global-en.css" type="text/css" rel="stylesheet"> 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.