Web Dev Matters and Me

Web Development Matters - HTML, XML, C#, .NET, AJAX/Javascript(jQuery), CSS, XML-XSLT

ME - LIFE,Philippines, Tokyo, ECE, PhilNITS/JITSE,情報処理, 日本語

things about Philippines, gaming, C# development and web development, how to make money in stock trading

Web Dev Matters and Me

Configuring website rules in IIS Manager

Managing websites can be a pain in the neck. Sometimes you'll find yourself fixing some broken links, editing style sheets because of routing side-effects and even managing bandwidth limit. You probably won't be fit for a web admin task if you can't make a solution for all of those things. Good thing there are few tips that you can do now.




Managing routing in IIS 7.0 is really easy. While there are options to use wildcards, I found that regular expressions solve most of my routing problems. You can even just upload a file, point all request to that file during site maintenance. You can also make SEO friendly URL, and make the real querystring request unknown to site visitors, just don't forget to make rules in robot.txt and add a canonical link to the preferred URL.

And the bandwidth problems. Actually, you can solve this in two ways. You can just check the referrer either in IIS or the code behind and make a response. it is very simple.

0 comments:

FB Connect