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!
Using a static page for the main index.html page in a domain
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
www.cessnapilot.net
Another way to do it (If your ISP can't) would be to add an index.html page containing this re-direct code:
By changing the zero to say, 5 seconds you could introduce a title into the <body>.
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>75% of people make up three quarters of the World's population!
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!
<?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!