Default HomePage

Discussion in 'ASP.NET WebServices' started by turnstercou, Dec 8, 2005.

  1. Can you tell me how to setup a defAULT homepage?
    At the moment my site automatically gows to a directory structure

    www.turnster.co.uk

    however i want it to go automatically to

    www.turnster.co.uk/dotnetnuke

    I know this stuff should be pretty basic but i still have no idea?

    Thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    1) Setup the default document as say index.aspx in the control panel (or any name you want)

    2) Create a file named index.aspx in your site root, put the following in there

    <%

    Response.Redirect('/dotnetnuke')

    %>

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Thanks for the quick reply.
    I changed it as you said to

    <%

    Response.Redirect("/dotnetnuke/default.aspx")

    %>

    It worked like a dream. Thanks
     

Share This Page