Welcome Guest, Not a member yet? Register   Sign In
remove index.php?


is there any way to avoid from index.php in url?
i have .htaccess file :

RewriteEngine on
RewriteRule ^$ /BEEK/index.php [L]
RewriteCond $1 !^(index\.php|img|css|js|video_files|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ /BEEK/index.php/$1 [L]

and with http://localhost/beek/ I can access default controller/index()
i have second controler which I want to access from default, I do it with anchor:
<?=anchor('second', 'title="My News"');?>
but in url i get http://localhost/beek/index.php/second, how can I get http://localhost/beek/en ?

best regards,

just found solution Smile

which is ???

please share, I'd love to know how you handled that...

[eluser]Patrick K[/eluser]
I'm pretty sure this solution should work:

<a href="http://expressionengine.com/wiki/Remove_index.php_From_URLs/">http://expressionengine.com/wiki/Remove_index.php_From_URLs/</a>

Theme © iAndrew 2016 - Forum software by © MyBB