I want to canonicalize a domain name, from bar.example.com to www.example.com (well, nothing that is not www.example.com). The site launches IIS7.
The problem is that certain URLs are of the form http://bar.example.com/asp/oldpage.asp?query=awesome and already have certain rules for rewriting URLs that are redirected to http: // www. example.com/newpage/awesome
I want to write a rule that catches other rules.
HERE. CATCH: I have a lot of rules and you want to put this rule in the root directory of the site, but have additional rewrite / redirect rules in subfolders, so I want to delay 301 until all the rules have been followed.
Is it possible? Rewrites have the option to defer (stopProcessing = "false"), but this does not seem to be an option to redirect.
Here i am here?
Broam source
share