Have had to rejig a current live website as the client no longer wants to have sub categories within the nav / shopping system.
At the moment, there are 3 pages;
top level category (shop_category_resuts_s.php)
sub category (shop_products_results_s.php)
product detail (shop_product_details_s.php)
The current htaccess mod rerwite is as follows:
RewriteRule ^shop/(.*)$ shop_category_results_s.php?perm=$1 [NC,L,QSA,T=application/x-httpd-php]
RewriteRule ^shop/(.*)/(.*)$ shop_product_results_s.php?sub=$1&perm=$2 [NC,L,QSA,T=application/x-httpd-php]
RewriteRule ^shop/(.*)/(.*)/(.*)$ shop_product_details_s.php?perm=$3&cat=$2&parent=$1 [NC,L,QSA,T=application/x-httpd-php]
So basically I have to display the products on shop_category_resuts_s.php and then link them to the relevant product detail.
The former issue I have done, but I cant get the product details page to dispolay the relevant product detail and cant see why not. It is just showing page not found content which seems to be on the page that is no longer required.
I have modified the mod rewrite for the product details page to ^shop/(.*)/(.*)$ and that doesnt help....
p.s. pages are attached