Welcome Guest, Not a member yet? Register   Sign In
rewrite mod
#1

[eluser]nhantam[/eluser]
I have controller mycontroller

when I write my browser: http://www.mydomain.com/mycontroller is OK
but:
if I only write my browser: mydomain.com/mycontroller
then browser appear allow: http://www.mydomain.com/index.php/mycontroller

Could you help. How do I hidden "index.php" ?

My htaccess:

Code:
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

RewriteCond %{HTTP_HOST} ^mydomain.com
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]


Messages In This Thread
rewrite mod - by El Forum - 08-10-2011, 03:58 AM
rewrite mod - by El Forum - 08-10-2011, 04:36 AM
rewrite mod - by El Forum - 08-10-2011, 08:33 PM
rewrite mod - by El Forum - 08-11-2011, 02:54 AM
rewrite mod - by El Forum - 10-10-2012, 03:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB