Debian
Member
- Joined
- Aug 8, 2010
- Messages
- 194
- Reaction score
- 6
When ban to implementing in the modern acc the .htaccess to remove the damned index.php in the URLS and to increase the safety of modern acc
Here I leave a piece of code for if someone is motivated to proving it:
This does that all the requests one does them to index.php
and And I could add him much dwells codes
I hope that they comment
Here I leave a piece of code for if someone is motivated to proving it:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
This does that all the requests one does them to index.php
and And I could add him much dwells codes
Code:
RewriteCond $1 !\.(css|js|png|jpg|gif|zip|gz|htc)$
I hope that they comment