(Add this code to .htaccess file)
-
- => *.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([A-z0-9/_+-]+)$ /$1.php [L]
</IfModule>
- *.type => *.php
Look Like this Site [http://www.vojdany.com/amin.1devs] to Redirect for Example amin.1devs(a tag with href="amin.1devs") to amin.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([A-z0-9/_+-]+)$.1devs /$1.php [L]
</IfModule>