.htaccess RewriteRule hatası.
Merhabalar;
Godaddy sharing hostinde subdomain altında kurmaya çalıştığım php scriptinde .htaccess ile yazılmış ReWriteRule ları ile ilgili sıkıntı yaşıyorum. aşşaığdaki .htaccess kurallarını inceleyip herhangi bir yanlışlık var mı bakarsanız sevinirim.
<Files .htaccess>
order allow,deny
allow from all
</Files>
AddDefaultCharset UTF-8
Options -Indexes
php_value upload_max_filesize 20M
php_value post_max_size 20M
DirectoryIndex index.php
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^sayfa-([a-zA-Z0-9\-_]+)?$ index.php?sayfa=$1 [L,QSA]
RewriteRule ^detay-(.*?)?$ index.php?sayfa=neler-yapariz&id=$1 [L,QSA]
RewriteRule ^sayfalar-(.*?)?$ index.php?sayfa=sayfa&id=$1 [L,QSA]
RewriteRule ^hizmetler-(.*?)?$ index.php?sayfa=hizmetler&id=$1 [L,QSA]
RewriteRule ^urunler-(.*?)?$ index.php?sayfa=urun-detay&id=$1 [L,QSA]
RewriteRule ^referanslar-(.*?)?$ index.php?sayfa=referans-detay&id=$1 [L,QSA]
RewriteRule ^duyurular-(.*?)?$ index.php?sayfa=duyuru-detay&id=$1 [L,QSA]
RewriteRule ^haber-(.*?)?$ index.php?sayfa=haber-detay&id=$1 [L,QSA]
RewriteRule ^galeri-sayfa-(.*?)?$ index.php?sayfa=galeri&s=$1 [L,QSA]
RewriteRule ^kat-urun-(.*?)?$ index.php?sayfa=urun-kategori&id=$1&s=$1 [L,QSA]
Php
Sorunu RewriteEngine on satırından sonra RewriteBase / kodlaması ekleyerek çözdüm.