#rewrite-rule
Rewrite Rules
IIS URL Rewrite rules in web.config for redirects such as HTTP to HTTPS and www to non-www.
- posts
- 5
- snippets
- 0
- stories
- 1
- videos
- 0
- tools
- 0
git log -- rewrite-rule
- Redirect HTTPS requests to HTTP using IIS Rewrite rule in Web.Config
Use the provided rewrite rule to redirect HTTPS requests to HTTP.
- Redirect HTTP to HTTPS using Web.Config in IIS
Use IIS Rewrite rule to redirect all HTTP request to HTTPS.
- Redirect WWW to Non-WWW using Web.Config in IIS
Use IIS rewrite rule to redirect (301) all www requests to non-www.
- Inserting Rewrite rule in Release Config
Adding rewrite rule in release config is handy so that it will not affect during Debug mode.
- Redirect non-www urls to www urls
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.