Welcome Guest, Not a member yet? Register   Sign In
mod_rewrite : Getting rid of index.php in the URI
#4

[eluser]dmiden[/eluser]
nuttynibbles: are you trying to use mod_rewrite?
in that case try this in your .htaccess file:
Code:
RewriteCond $1 !^(index\.php|images|js|css|files|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

Remember to save it as ".htaccess" in your web root directory. (Same dir as "index.php").


Messages In This Thread
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 02-18-2008, 05:05 AM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 02-18-2008, 05:18 AM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 03-08-2008, 03:46 PM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 03-09-2008, 08:22 AM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 03-11-2008, 09:39 AM
mod_rewrite : Getting rid of index.php in the URI - by El Forum - 03-11-2008, 10:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB