I have removed ‘index.php’ from my URLs per the instructions in the EE User Guide for EE 2.2.2. Now the stylesheet links do not work correctly.
In my template, the code for the link, which worked before I removed ‘index.php,’ is:
<link rel="stylesheet" href="{stylesheet='_css/core_css'}">If I view the page source, this link now reads as follows:
<link rel="stylesheet" href="http://www.SITE-NAME.com/?css=_css/core_css.v.1316275057">In other words, EE is inserting
?css=in the link, and as a result, the stylesheet is not being referenced by the page.
I can use the path variable instead (I tested it and it works), but I’d prefer to use the stylesheet format so that the stylesheet is lighter (according to the documentation). Am I missing something in the formatting of my stylesheet link?
Brian