Welcome Guest, Not a member yet? Register   Sign In
Stylesheets not including
#1

[eluser]lkoreality[/eluser]
Nevermind!! I fixed it! I'm always finding the solution right after posting! haha But for all that may have this problem - it was indeed the htaccess. Just add a divider and add the folder/files you may need to be excluded when removing index.php!

Code:
RewriteCond $1 !^(index\.php|images|robots\.txt|styles)

Quote:I have styles and images in my dir. The images are being seen but styling doesn't work.

When I point my browser to the image folder (site.com/root/images) i get a 403 but when i visit my styles dir i get a 404. which would make sense (why styling isn't working) but it is definitely there.

Could it have something to do with removing the index.php (which i've done)?

Thanks
#2

[eluser]darkhouse[/eluser]
This .htaccess works great for me, you don't have to worry about folders or special files or anything:

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [QSA]




Theme © iAndrew 2016 - Forum software by © MyBB