I happened to be looking at my header when I noticed the following.
<link rel=”stylesheet” href=”http://www.mydomain.comtemplates/system/css/system.css” type=”text/css” />
<link rel=”stylesheet” href=”http://www.mydomain.comtemplates/system/css/general.css” type=”text/css” />
<link rel=”stylesheet” href=”http://www.mydomain.com/templates/ja_olivine/css/template_css.css” type=”text/css” />
<link rel=”stylesheet” href=”http://www.mydomain.com/templates/ja_olivine/css/typo.css” type=”text/css” />
If you notice the URL’s there is a missing ‘/’ in the first two for system.css and general.css. In the configuration.php the siteurl does NOT have a trailing ‘/’ and when I add it the ‘/’ gets added to the first two URL’s but then a double ‘/’ appears on the second two URL’s.
I tracked it down to a missing ‘/’ in the templates index.php.
<link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>/templates/system/css/system.css” type=”text/css” />
<link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>/templates/system/css/general.css” type=”text/css” />
<link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/template_css.css” type=”text/css” />
<link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/typo.css” type=”text/css” />
The URLs appears correctly now but I guess my question is was this an error? cuz the site was working properly even with the missing slash.
Thanks.
G