Page 1 of 1

Using a static page for the main index.html page in a domain

Posted: Sun May 13, 2007 8:24 pm
by treehstn
Is there a way to set a static page so that it is used as the main index page of a domain? I'm trying to figure it out from the settings but I'm not quite grasping the concept of the options available to make it work.

What I'm really trying to do is use s9y as the interface for a whole domain. It's a simple domain with just a few pages. The blog and a gallery will be the biggest parts.

Thanks!

Posted: Mon May 14, 2007 9:35 am
by treehstn
I figured out how to do it! My web host has an option to redirect any page to another so I was able to build a static page as the index page and redirect the domain to that page. Works great!

www.cessnapilot.net

Posted: Thu May 17, 2007 5:51 pm
by Ianardo
Another way to do it (If your ISP can't) would be to add an index.html page containing this re-direct code:

Code: Select all

<html>

	<head>
		<title>Welcome to My Website</title>

		<META HTTP-EQUIV="refresh" CONTENT="0;URL=http://www.your_url.com/serendipity"> 

</head>
	<body>
	</body>

</html>
By changing the zero to say, 5 seconds you could introduce a title into the <body>.

Posted: Tue May 22, 2007 4:13 am
by RJH
I host with GoDaddy and they gave me this code to redirect to the Serendipity dir. Works great!


<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.yourdomainnamehere.com/serendipity/index.php");
exit();
?>

I put the code in a text file and renamed it to: "index.php" ftp'ed it to the root and voila!