Merhaba seflinki şu şekilde kullanabiliyorum /index.php/deneme-yazisi-2.html ama istediğim /deneme-yazisi-2.html .htaccess codu
Options +FollowSymLinks
RewriteEngine On
RrewriteRule ^konu/([0-9]+)(/?)$ index.php?islem=konu&url=$1
link
echo '<li>»<a href="index.php/'.$baslik_sef.'.html">'.$baslik.'</a></li>';
normalde link şu şekilde geliyor
<a href="index.php?islem=konu&url='.$row['id'].'">devamını göster</a>
htaccess
<IfModule mod_rewrite.c>
Options +FollowSymLinks -Indexes
Options -MultiViews
RewriteEngine on
RewriteBase /
# dosyalar gerçekten varsa rewrite ı pas geç
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?islem=konu&url=$1 [L]
</IfModule>php
echo "<li>»<a href='$baslik_sef".".html'>$baslik</a></li>";