Welcome Guest, Not a member yet? Register   Sign In
Remove index.php with mod_rewrite but keep css/site.css
#2

[eluser]BrianDHall[/eluser]
Oh yes, surprisingly simple for you - its all about your htaccess. This line is what matters:

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

What it is saying is "ignore index.php, robots.txt, and anything in the images folder.

Just add your 'ignore this' directories there and it should magically work!

As an example, this is my htaccess for my latest project:

Quote:RewriteCond $1 !^(index\.php|images|uploader|css|js|robots\.txt|favicon\.ico)


Messages In This Thread
Remove index.php with mod_rewrite but keep css/site.css - by El Forum - 09-29-2009, 01:42 PM
Remove index.php with mod_rewrite but keep css/site.css - by El Forum - 09-29-2009, 01:49 PM
Remove index.php with mod_rewrite but keep css/site.css - by El Forum - 09-29-2009, 04:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB