Let me be more descriptive. These relates back to the last changes I made, inputing product names into the url using this rewrite:
- Code: Select all
RewriteRule ^.+products-ban-([0-9]+)-cat-(.*)\.php$ /products.php?ban=$1&cat=$2 [QSA,L]
This allowed product names to be inserted into the url, there was only one problem. If the product name had a backslash say for example:
Nice dress w/ Sash
It would lead to a screwed up version of the page it was supposed to go to. How can I get it to accept all characters, including backslashes, before the dash before 'product' so that it does not distort the page.
Thanks, Rich. I hope I explained that right!