.htaccess |
[eluser]Unknown[/eluser]
I have the following rules on my .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(.*)forum http://www.google.com [L] RewriteCond $1 !^(index\.php|gzipcss\.php|gzipjs\.php|img|css|src|swf|xml|js|robots\.txt|favicon\.ico) RewriteRule ^(.*)$ /index.php/$1 </IfModule> What I want is? If the user dial something that include the word forum, it is redirect to the google homepage, otherwise, I have to rewrite my url to include the index.php on it. But It is not working. When I put something with the word forum i have a peg not found from code igniter.
[eluser]mglinski[/eluser]
Code: RewriteRule ^(.*)forum(.*)$ http://www.google.com [L] -Matt |
Welcome Guest, Not a member yet? Register Sign In |