This is a complicated one which I hope has a simple answer...
RewriteRule ^category/([^.]+)/([0-9]+)/([^.]+)/([0-9]+) category.php?c_id=$2&filters=$3&_p=$4&name=$1
This rule would pick up category/kitchen/10/0-0-0-0-0-0-0-0/1
with the following get vals:
The reason filters were stored in 0-0-0-0-0-0-0-0 was because of the 9 back references limit. Each 0 was a different filter variable which I accessed by doing a split on $_GET['filter'].
I am now changing my URL to a non mod rewritten one, so that the rewrite rule becomes:
RewriteRule ^category/([^.]+)/([0-9]+)/([^.]+)/([0-9]+) category.php?c_id=$2&filters=$3&_p=$4&name=$1 [R=301,L]
Note to [R=301,L] so it becomes a 301 redirect.
This is all fine but I was wondering if there a was a clever way of splitting the 0-0-0-0-0-0-0-0 so that each 0 is a get variable. So I can get
Thanks in advance!