I have created a subdomain and installed the script from the knowledge base article that shows how to redirect the incoming subdomain to the right folder. http://kb.discountasp.net/article.aspx?id=10102 The result returns: http://subdomain.domain.com/subdomainfolder/ I want the final url to not have that final folder showing otherwise why bother with the subdomain. How do i do this? Thanks in advance, Becky
There's no easy way to do this. You'll have to rewrite the URL which requires quite a bit of hardcore development work. Bruce DiscountASP.NET www.DiscountASP.NET
One quick-and-dirty way to get the effect you are looking for, is to use the Server.Transfer() function instead of the Response.Redirect() function. Server.Transfer() does a 'behind the scenes' redirect so the user sees the final page, without the URL changing to reflect the redirect. So the KB article you referenced would look like:
Thank you both for your quick responses. I will try the Server.Transfer(). I am trying to set up client demo areas. Each client would have their own unique url that is easy to remember clientname.myurl.com etc. It isn't the end of the world that the folder shows. I guess i am just being too anal about it. Thanks for your help, Becky