8. August 2010 21:16by JP Hellemons
in C#, IIS
This blog post is about how I used URL rewriting for a better organic search ranking. Maybe it helps out some other people who struggle to rewrite URL’s without components like URL Rewriter. It’s open source but it uses regular expressions in a configuration file. That is a more common way to rewrite, but that would make me rewrite a lot of code, because of the URL’s I have at the moment. And since developers are
lazy efficient, we tend to try an other approach first.
My current URL’s are:
Product id 1 can be a car like Audi R8 and ID 2 can be a book like Harry Potter. Other solutions are based on URL’s like:
Which can be rewritten easily with a regular expression and the open source rewriting mentioned before. Here is how I solved it for my situation:More...