| Posted: 13 October 2008 at 11:03am | IP Logged
|
|
|
Vyacheslav, can I pick your brains once more, please?
Is it possible to tweak this rule so that if the stem of the URL is found in the mapfile, it passes anything beyond that in as separate parameters? For example, say I have an entry in the map file like this:
Code:
| /giftware/clocks/watches 75 |
|
|
With a URL of www.mydomain.com/giftware/clocks/watches , using the rule I have above, that would go to item.asp?cid=75. However, if I then wanted to be able to do paging, so a URL might look like
www.mydomain.com/giftware/clocks/watches/page2
Can I have the "end" of the URL pass into another parameter so the resultant url would be item.asp?cid=75&p=2 - even though I'm looking it up in a mapfile?
Actually, another thought - if I wanted to link to a product at the end of this URL - i.e.
www.mydomain.com/giftware/clocks/watches/TDB1234
Where TDB1234 is a product code, that does not follow a particular format (i.e. a code could be 123DD4, QQQfg5, etc) is it possible to link to a product detail page in that case
so - if the end part is /pagexxx then link to one URL with a p=xxx parameter, otherwise link to a different url with productID=TDB1234
Not asking much, am I? 
Edited by richardh - 13 October 2008 at 12:29pm
|