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

[eluser]ronnixw[/eluser]
hi,

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,
ronnixw


Messages In This Thread
remove index.php? - by El Forum - 01-23-2010, 03:01 PM
remove index.php? - by El Forum - 01-23-2010, 03:47 PM
remove index.php? - by El Forum - 01-23-2010, 08:53 PM
remove index.php? - by El Forum - 01-24-2010, 01:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB