by
KK » Sat Sep 05, 2015 12:41 am
I'm not referring to failing to load the css, but the css being messed up by the feature,
The css is being messed up because the CSS file could not be loaded.
not sure what is happening
What is happening is that once you turn on prettyURLs all relative links break because e.g.
what was originally
http://www.yoursite.com/about.php now becomes
http://www.yoursite.com/about/. Notice how now it appears as if we have a folder named 'about'.
So something like the following two which worked well before will now try to fetch the css and js file from a non-existent folder named 'about' -
- Code: Select all
<link rel="stylesheet" href="dist/css/about.1067969246.css" id="main-styles" />
<script src="dist/js/about.2147483647.js"></script>
I think you can see that the situation can be fixed by making those links absolute.
Incidentally, the links mentioned above have been taken from your actual site's 'about' page.
I simply had to right click in Chrome and select 'Inspect element' to open the dev tools tab that clearly showed that two resources could not be loaded (something I had suggested earlier).
Please find those links and make them absolute to rectify the problem.
Hope it helps.