D9Hosting Posted December 18, 2008 Share Posted December 18, 2008 After upgrading to 3.8.1 and getting everything working as it should, I've noticed a problem with our stylesheet not working on pages that use the SEO friendly URL's, for example: http://www.d9hosting.co.uk/clients/knowledgebase/6/Email If you look at the source, the stylesheet is being called from the correct location and it works on all of the other pages. Anyone got any idea on how to solve the problem? Cheers, Dan 0 Quote Link to comment Share on other sites More sharing options...
herpherp Posted December 18, 2008 Share Posted December 18, 2008 I would try adding /clients/ in front of your path to css, I think it is trying to go to http://www.d9hosting.co.uk/clients/knowledgebase/ 0 Quote Link to comment Share on other sites More sharing options...
D9Hosting Posted December 18, 2008 Author Share Posted December 18, 2008 I would try adding /clients/ in front of your path to css, I think it is trying to go to http://www.d9hosting.co.uk/clients/knowledgebase/ Thanks, that fixed it 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted December 18, 2008 Share Posted December 18, 2008 (edited) I just turned on my SEO and had a similar problem and that helped but my navigation links are still not correct. How do I fix without have to put the full url in the nav! Thanks! Edited December 18, 2008 by BAJI26 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 18, 2008 Share Posted December 18, 2008 Try moving the base href line above the stylesheet link like below <head><title>D9 Hosting Customer Portal</title> <base href="http://www.d9hosting.co.uk/clients/" /> <link rel="stylesheet" type="text/css" href="templates/d9hosting/style.css" /> </head> 0 Quote Link to comment Share on other sites More sharing options...
D9Hosting Posted December 19, 2008 Author Share Posted December 19, 2008 Thanks Sparky, that works as well! @ BAJI26, if you got the <base href="{$systemurl}" /> in your header, and you have got the .htaccess in the right place, double check your templates are all upto date. You need to update the Knowledgebase, Downloads and Announcements templates before the SEO links will take effect. 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted December 20, 2008 Share Posted December 20, 2008 I thought I did it before but the <base href="{$systemurl}" /> was missing. Thanks! 0 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.