0
I have the following problem.
I am working with a Codeigniter system and need to remove index.php from the url.
My . htaccess is as below:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|assets|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
The index.php itself has already been solved. The problem is that the system has a language plugin and the link configuration is as below:
www.site.com.br/pt/controller
The point is that this htacces is overwriting pt and I can’t remove this pt. And in this case, they will have other languages like en, es and etc.
How do you fix this?
vlw guy.... worked here... Rigadão
– Lucas Vilhena