I want to activate friendly URL function. But could not succeed.
I have prepared another installation under a folder and prepared
database and also set config.php and .htaccess files properly.
But I am always getting product not found message. My site address
is www.fiyatbul.net and URL rewrite settings are as follows im my config.pgp file:
$config_baseHREF = "/friendly/";
$config_useRewrite = true;
Options -MultiViews
RewriteEngine On
RewriteBase /friendly/
RewriteRule ^product/(.*).html$ products.php?q=$1&rewrite=1&%{QUERY_STRING} [L]
RewriteRule ^review/(.*).html$ reviews.php?q=$1&rewrite=1&%{QUERY_STRING} [L]
RewriteRule ^merchant/$ merchants.php
RewriteRule ^merchant/(.*)/$ search.php?q=merchant:$1:&rewrite=1%{QUERY_STRING} [L]
RewriteRule ^merchant/(.*)/(.*).html$ search.php?q=merchant:$1:&page=$2&rewrite=1%{QUERY_STRING} [L]
RewriteRule ^category/$ categories.php
RewriteRule ^category/(.*)/$ search.php?q=category:$1:&rewrite=1%{QUERY_STRING} [L]
RewriteRule ^category/(.*)/(.*).html$ search.php?q=category:$1:&page=$2&rewrite=1%{QUERY_STRING} [L]
RewriteRule ^brand/$ brands.php
RewriteRule ^brand/(.*)/$ search.php?q=brand:$1:&rewrite=1%{QUERY_STRING} [L]
RewriteRule ^brand/(.*)/(.*).html$ search.php?q=brand:$1:&page=$2&rewrite=1%{QUERY_STRING} [L]
I think I need soem help.
Cheers,
Kempo.
Hello Kempo,
For some reason, products.php is not removing the "-" from the incoming query. Can you email me this file and also includes/tapestry.php and I will check if any changes are conflicting with the friendly URL codes...
Cheers,
David.