The initial problem was that clicking a category at the bottom of the detail page of an offer wouldnt make it to the category page however I have sorted that by adding category.php?cat= prior to the cat path.
The problem I am now having is i cant get the rewrite to work correctly. Ideally I would like it to appear as /business/manufacturers/nissan/ instead of /business/category.php?cat=manufacturers/nissan/
I had tried that previously and tried it again just now but unfortunately it doesnt work. It returns the detail.php page instead of the category.php page without listing any items related to the category.
The link works in that it points to /business/category/manufacturers/nissan/ but it doesnt return the category page with the list of items associated with that category so I am guessing it is something in the rewriting.
Ok, there's a limit to how much time I can spend helping with things like rewrite rules that are general web development questions rather than issues with the product itself.
I have changed this to the following as once you clicked through to the detail.php page of an item it overwrote the category links on the page and didn't display the category page with the listing of items. Instead it was showing the detail.php page when you clicked a category link.
Ok, those both look about right. What problem are we trying to fix?
The initial problem was that clicking a category at the bottom of the detail page of an offer wouldnt make it to the category page however I have sorted that by adding category.php?cat= prior to the cat path.
The problem I am now having is i cant get the rewrite to work correctly. Ideally I would like it to appear as /business/manufacturers/nissan/ instead of /business/category.php?cat=manufacturers/nissan/
In your template, change this:
to this:
I had tried that previously and tried it again just now but unfortunately it doesnt work. It returns the detail.php page instead of the category.php page without listing any items related to the category.
Is your problem with the link or the routing?
The link works in that it points to /business/category/manufacturers/nissan/ but it doesnt return the category page with the list of items associated with that category so I am guessing it is something in the rewriting.
Ok, there's a limit to how much time I can spend helping with things like rewrite rules that are general web development questions rather than issues with the product itself.
I was working on something else and have now realised what has been happening with the rewrite.
I have more than one rewrite running in the same folder of the site.
My previous rewrite setup was
I have changed this to the following as once you clicked through to the detail.php page of an item it overwrote the category links on the page and didn't display the category page with the listing of items. Instead it was showing the detail.php page when you clicked a category link.
This is now working correctly loading the category page with a listing associated with the selected category.