Page 1 of 1

change default page

Posted: Tue May 06, 2008 3:58 pm
by toncho11
Hi,

I want to set a page like lets say index.html to load instead of index.php to inform that my blog has moved to different domain.

I will continue to use the same Serendipity installation directory(if possible) as my new domain will redirect to index.php and thus will load Serendipity.

Re: change default page

Posted: Tue May 06, 2008 4:09 pm
by garvinhicking
Hi!

How about renaming your current index.php to index.old, and create a new index.php:

Code: Select all

<?php
header('Location: http://Yournewhost/serendipity/');
?>
?

HTH,
Garvin