Forum Moderators: open
I have a bunch of old URLS that contain a ordercode in the url. My new urls simply are the same, but without the ordercode. Is there a way I can have IIS sent a 404 to any incoming request for a page url containing ordercode?
I think its yahoo that keeps indexing these old links, because they will display properly if the order code is still in the URL
But why don't you simply do it by code ? I do assume you process the ordercode. With vb.net you can easily validate the length or content of a querystring then redirect the user to the 404 page if there's a querystring. That's what I would do.
hope it helps.