Author: noahb | Posted on: 8/20/2008 12:59:57 PM | Views : 414

I'm looking to rewrite a URL from sub.domain.com/page.aspx to domain.com/page.aspx?q=sub .  I've read a lot online and can figure out how to map sub.domain.com to domain.com/page.aspx?q=sub, but I want to do this in a way where the querystring q is persisted no matter what the page.  So basically sub.domain.com will just pull up the same page on domain.com but with a q=sub querystring appended.  sub.domain.com/MyPage.aspx should rewrite to domain.com/MyPage.aspx?q=sub and sub.domain.com/Another/Page.aspx should rewrite to domain.com/Another/Page.aspx?q=sub.  Any ideas how to do this?
Thanks,
Noah

...

Go to the complete details ...