Some of the htaccess rewrite rules not working on remote server
I just transferred my website from my local server to a remote server. and
for some reason some of the rewrite rules stopped working
Here is the link to the webpage I'm working on; http://alicantest.info/
And here is the contents of the htaccess file;
Options +FollowSymLinks
Options -Indexes
Options -Multiviews
RewriteEngine on
DirectoryIndex index.php
-----------------NOT WORKING-----------------------
RewriteRule ^haberler.php/([^/\.]+)/?$
yazi-detay.php?type=haberler&baslik=$1 [L]
RewriteRule ^urunler.php/([^/\.]+)/([^/\.]+)?$ urunler.php?
type=urunler&cateogry=$1&product_id=$2 [L]
RewriteRule ^urunler.php/([^/\.]+)/?$ urunler.php?type=urunler&category=$1
[L]
-----------------WORKING-----------------------
RewriteRule ^hakkimizda$ hakkimizda.php [L]
RewriteRule ^urunler$ urunler.php [L]
RewriteRule ^ana-sayfa$ index.php [L]
RewriteRule ^iletisim$ iletisim.php [L]
RewriteRule ^haberler$ haberler.php?q=haberler[L]
RewriteRule ^search$ yazi-detay.php [L]
As you can see some of the rewrite rules are working as it should
be,however the other complicated rules are not working at all.
No comments:
Post a Comment