I just finished the relocation of my site.

I wanted to redirect all request to my old site to the new one. However, though I did know about the HTTP status codes 301 (moved permanently) and 302 (found respectively moved temporarily), I didn’t know how to implement that in ASP.NET, since I’m not a web developer. Unfortunately, I wasn’t able to find any hints with Google.

But then I reviewed the .Text sources to see, how Scott has done all the http handlers. From that it was pretty easy to do that. By now, my old server redirect all requests to the new site permanently. On the other hand, on the new server all accesses to the root are directed to the sub-folder blog temporary.

I think I’m going to write a article about it (maybe at CodeProject?), but not before the PDC has finished… Big Smile

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...