/ Published in: PHP
2 etapas: .htaccess e config.php
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* No arquivo .htaccess, colocar (ou substituir caso ja exista) as linhas abaixo RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] E no arquivo config.php, fazer a seguinte altera���§���£o: */ $config['index_page'] = "";