MIX09: Search Engine Optimization (SEO) for Web Developers
Introduction to URL Rewriter in 15 minutes
Presenter: Thomas Deml, Group Program Manager, Web Platform and Tools, Microsoft
Video: https://videos.visitmix.com/MIX09/T86M
- The Key – Canonical URL’s
- “reduced to the simplest and most significantly form possible without loss of generality”
- showed 4 different URL’s that point to the same content, which lowers your search rank. Better rank if you get all 4 request combined into 1
- Solution – IIS URL Rewriter
- similar to Mod-Rewrite, a Apache
- Enforcing WWW
- Shows creating a rule with regular expression
- if matches to a HTTP_HOST value
- 301 Redirect to a different URL
- Shows in action on his blog
- Hide default document
- Creates another rule – if user asks for index.php
- Redirect– takes away “index.php”.
- When crawler sees the 301, it will scratch from his list and crawl the new URL
- Hiding the mixing of case
- Import a HTACCESS
- URL Rewriter has a HTACCESS-to-URL Rewiter converter. Lots of rules already out there.
- Import a HTACCESS
- Shows rules in web.config