Adding rewrite rule in release config is handy so that it will not affect during Debug mode.
1 developer story and 5 posts tagged with “Rewrite Rule”
When considering SEO, either you have to stick with www versioned url or non-www URLs. Having both accessible for a domain is a bad practice.
Use IIS rewrite rule to redirect (301) all www requests to non-www.
Use IIS Rewrite rule to redirect all HTTP request to HTTPS.