I am guessing that this would be done within OnPreprocHeaders using
SetHeader, but I really don't know. Can someone provide me with a snippet to
get me on the right track? Thank you.
1) Thanks to David Wang's help, I've been successfully rewriting URLs for a
PHP website running on IIS 6 for over a year.
2) I have some well indexed URLs (by search engines) for my website.
3) I want to modify my URL rewriting scheme but don't want to lose my
existing search engine position.
4) I know how I would go about mapping my old URLs to the new URL writing
scheme.
The problem is that I don't know how to do specify a 301 status for my
obsolete URLs. Can a redirection filter set a 301 status code for my
obsolete URLs?
If so, can someone provide a short snippet for me to look at?