Siteniz wp ise ana dizinde bir .htaccess dosyası oluşturup, içine aşağıdaki kodları ekleyin.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
wordpress ise kalıcı bağlantılara tıklayın kaydet diyin
Site wordpress değil, hazır sistem kullanmıyorum.
Detaylı anlatıyorum;
Bu haber.php'de yer alan kod
<a href="<?php echo $SITE_URL."h/".$hk['sef']; ?>" class="kategoriler"<?php echo $act; ?>><?php convhtml($hk['title'], true); ?></a>
$hurl = $SITE_URL."h/".$haberdata['sef']."/".$h['id']."_".$h['sef'];
Bunu .htaccess'te nasıl düzenlemeliyim?
Sitedeki habere tıkladığımda siteadi.com/h/kulup/989_haber-basligi-burasi
böyle gözüküyor.
Yardımcı olabilecek kimse yok mu?