I got it:
To field is now:
www.mysite.nl/nl/component/virtuemart/overgordijnen/gordijnen/{preg_match}/jab.*/{/preg_match} ?Itemid=0
result is now correct.
now all I need is to make the /overgordijenen/gordijnen/ call from the URL (as it is dynamic).
Hmm, still can not get my head around it.
THe above solution is not dynamic enough.
So:
In case url includes XXXX-name got to page:
www.mysite.nl/nl/component/virtuemart/cat1/cat2/name-type
XXXX-name is dynamic, however the format is always the same.
name is only 7 possibilities so I am happy to set up 7 rules.
So the from URL should include 'shop' and 'name' - what is the regex for this?
The TO page needs to include cat1 and cat2 from the FROM URL as well as the name and following type.
eg.
originial URL:
www.mysite.nl/shop/cat1/cat2/XXXX-jab-type
destination URL:
www.mysite.nl/nl/component/virtuemart/cat1/cat2/jab-type ?item=0
is the building of the destination URL such that it runs through macros one at a time and applies them such that the second macro is applied to the result of macro 1 or is it applied to original URL?
So:
www.mysite.nl/{macro1}{macro2} => macro2 is applied to the result of macro1, or macro2 is applied to original URL (as with macro1)?
thanks.