Aşağıdaki Kodu Yazınız:
Üst tarafta php yada html ile biten uzantıları örn:
php
asp
html
htm
gibi uzantılarla değiştiriniz.
Kullanımı ise:
<a href="http://yoursite.com/login">login</a>
Kod:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
#RewriteRule ^([a-z]+)\/?$ $1.php [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html #RewriteRule ^([a-z]+)\/?$ $1.html [NC]
</IfModule>
Üst tarafta php yada html ile biten uzantıları örn:
php
asp
html
htm
gibi uzantılarla değiştiriniz.
Kullanımı ise:
<a href="http://yoursite.com/login">login</a>
Son düzenleme:


