Hi,
i have switch server to nging. For items i use this rewrite directive:
location ~ /items/(.*)$ {
rewrite ^/items/(.*).html$ /products.php?q=$1&rewrite=1&$query_string last;
}
And working good. For categories i use this
location /kategorie/ {
rewrite ^/kategorie/(.*)/(.*).html$ /search.php?q=category:$1:&page=$2&rewrite=1&$query_string last;
}
but i still give bas 404 reply. What is wrong? Thanks :)
Hello,
Do you have the page 1 rewrite for category in place, which I think would be:
location /kategorie/ {
rewrite ^/kategorie/(.*)/$ /categories.php?path=$1 last;
}
That should be all it is...
Cheers,
David.
--
PriceTapestry.com