View Single Post
Old 11-12-2005, 02:46 PM   #10
Undertoad
Radical Centrist
 
Join Date: Jan 2001
Location: Cottage of Prussia
Posts: 31,423
URL Rewrite will only be a decent solution if both "type" and "item" are uniform in some way - like, if they're both numbers, or a letter followed by a number, something you can identify that won't aloso identify the other directory names.

What I was trying to do was to capture the type (in-between slashes) and item, because in regular expressions, anything in parentheses gets "saved" as $1, $2 etc. Then once they are saved, use them to build a new URL address.

I should have used .* instead of .+

URL Rewrite is magical and scary. Regular expressions are sexy once you know them.
Undertoad is offline   Reply With Quote