redirect 2.0 pages

Posted on 2006-03-31
Last Modified: 2008-02-01
Hi there

I have a server set up and am pointing domain names to it.

In order to redirect the request when it hits my server, i have added this code to the iisstart page.

If HTTPHost = "" then
    Response.Redirect ("")
End If

Now, i would prefer not to show the folder in the line so that pages are seen in the browser as etc.,

Is there a way of doing this.
I am also conscious of the effect of the redirect might have on google rankings.

Any advise, much appreciated.

The server is hosting windows 2000 small business server if this helps.

Question by:sunny-j
    LVL 6

    Accepted Solution


    Author Comment

    thanks for this. i could not get it to work though.

    is this correct

    If HTTPHost = "" then
        server.transfer ("/folder")
    End If

    It didn't redirect it to the folder i had in mind but simply showed the iisstart page.
    any ideas of where i am going wrong. thanks.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now