Good Answer
this rule:
RewriteRule ink$ products_results.php?Search=1&ProductCategoryID[]=2
is overwriting this one:
RewriteRule fluorescent_ink$ products_detail.php?ProductID=118
because they both end with ink
mod rewrite is not my specialty, so i am not entirely sure of the exact syntax, but I believe it should use:
RewriteRule ^ink$ products_results.php?Search=1&ProductCategoryID[]=2
RewriteRule ^fluorescent_ink$ products_detail.php?ProductID=118
to anchor the expression to the start of the string.
Good answer Jason. I changed the re-writes around so they have different endings and it fixed it! I never knew this was an issue, not come across it before in rewrites.
I'd like to re-write all the urls in the store but the product list pages are tricky because all the product listing are generated from the database. Is there an easy way around this? I can only think of two options, strip the code and manually list the products (drag and defeats the point of the store) or add a column to the database and enter simple urls then change the reference in dreamweaver to point to the new column.
Have I missed a trick? Is there a better way?
Thanks Jason.