[eluser]Sverre Palmstrøm[/eluser]
Hi guys and gals.
I recenetly installed CI on my server, but there's always something coming up when you're new right? So here it goes!
As I want my URLs to be /whatever/ instead of /index.php/whatever/ I read that modifying the .htaccess file to
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
would solve that problem. Well, it did. However, my issue with this is that the paths seems to be broken. F.ex I can't display a image that's on the root of the subdomain I've installed CL on, and I can't link my css file I'm going to use in the test, due to that CI is giving me a 404 whenever I try to open those files. Yes, the URL are correct so it's something to do with the rewrite rules. As I'm no expert and very little knowledge of mod_rewrite I can't figure out how to fix this. So I'm asking you guys if there's a solution and if you will be so kind and tell me, cuz I'm getting a bit tired of wasting time trying to find something I don't seem to find.
Thank you.
Best regards.
Sverre Palmstrøm