Changing your default home page (Redirector)

Information on ASP, ASP.NET, PHP, HTML, Javascript and anything else WWW related.

Changing your default home page (Redirector)

Postby Buck on Tue Jan 06, 2009 2:44 pm

If you want to use something other than default.asp or index.html as your default page for a folder and you don't have access to the IIS manager to set the "default content page", follow the instructions below.
Create your index.html or default.asp page, then use the following code in the file to redirect to the page you want the visitor to hit first:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Your Domain Name</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="0;URL=http://www.yourdomainname.com/page_name.aspx">

</head>
<body>

</body>
</html>
User avatar
Buck
 
Posts: 22
Joined: Wed Oct 29, 2008 10:25 pm

Return to Web Site Assistance

Who is online

Users browsing this forum: No registered users and 1 guest

cron