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.
change default page
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: change default page
Hi!
How about renaming your current index.php to index.old, and create a new index.php:
?
HTH,
Garvin
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/