**i use CodeIgniter**
**I have a page website with an issue:**
Menu show pages:
menu
{
http://www.domain.com/controller1
http://www.domain.com/controller2
}
http://www.domain.com/controller1 :> without "/" menu links work
{
http://www.domain.com/controller1
http://www.domain.com/controller2
}
but with http://www.domain.com/controller1/ "/"
menu links
{
http://www.domain.com/controller1/controller1
http://www.domain.com/controller1/controller2
}
exempl:http://site.esca.wibteam.com/inscription
see menu:
exempl:http://site.esca.wibteam.com/inscription/
see menu:
my .htacess :{
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-fenter code here
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
}
How can this be done with .htaccess or .....?
Try
.Htaccess
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]