merhabalar. .htaccess ile sitemin giriş sayfasını değiştirmek istiyorum. bunda herhangi bir sıkıntı yok.
fakat scriptte bulunan home.php de şöyle bir kod var
[PHP]<a href="urun/<?=$product["id"]?>/<?=$mth->seoUrl($product["title"])?>.html" style="display: block; text-align:center">
<img src="<?=$product["thumb"]?>" alt="<?=$product["title"]?>" height="400" style="margin: 0 auto;" />
<div class="clear"></div>
</a>[/PHP]
bu kod yüzünden url yapısı değişip .html oluyor ve bu yüzden .htaccess'e
www.site.com/urun/3/urunadi.html
linkini yazınca index of veya not found hatası geliyor.
istediğim şey ;
bu url yapısını .htaccess'de gözükecek şekilde nasıl düzeltebilirim?
.htaccess içeriğimin tamamı şu;
Alıntı
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^iletisim.html index.php?s=contact [L,NC]
RewriteRule ^index.html index.php?s=home [L,NC]
RewriteRule ^urun/(.*)/(.*).html index.php?s=product&id=$1 [L,NC]
RewriteRule ^sayfa/(.*)/(.*).html index.php?s=about&id=$1 [L,NC]