MarMigs
I rock :D
- Dec 3, 2010
- 115
- 14
Hey!
This is just a simple tutorial to help you to hide your files extension with .htaccess.
Please remember that if you use with some pre-made cms (like wordpress, joomla, smf, mybb, etc..) it may broke your pages! USE IT AT YOUR OWN RISK!
You just need to create a .htaccess file and paste this in it:
You can test that at
Remember that this just works on Apache and not in IIS!
This is just a simple tutorial to help you to hide your files extension with .htaccess.
Please remember that if you use with some pre-made cms (like wordpress, joomla, smf, mybb, etc..) it may broke your pages! USE IT AT YOUR OWN RISK!
You just need to create a .htaccess file and paste this in it:
Code:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^\.]+)$ $1.php [NC,L]
</IfModule>
You can test that at
You must be registered for see links
Remember that this just works on Apache and not in IIS!