How to testdrive index.php in web root
-
- Regular
- Posts: 11
- Joined: Sat May 28, 2005 11:47 pm
- Contact:
How to testdrive index.php in web root
I'm converting my existing site to Serendipity. I've installed it in the web root, so index.php is default. My current homepage had index.html as default. Unfortunately, I'm going live right away with Serendipity. I don't want the index.php to be shown yet, I want to convert my board without users seeing the index.php. They should see te index.html. How do I do this?
Edit your .htaccess-file, there you can change the directory index:
The first page, that will be loaded in this example, is the file index.html. If you do not have an index.html, the next file, index.php, will be loaded. And if you do not have an index.php, the third entry, index.htm, will be your startpage
- Oliver
Code: Select all
DirectoryIndex index.html index.php index.htm
- Oliver
Last edited by Oliver on Sun Jul 17, 2005 3:31 am, edited 1 time in total.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
If that doesn't work then maybe your provider doesn't allow you to change it in a .htaccess file.
So either you need to contact your provider and ask him why it doesn't work, or you need to rename index.php to "index2.php" and manually call the right file and adjust links that go to index.php until your site can go live.
Regards,
Garvin
So either you need to contact your provider and ask him why it doesn't work, or you need to rename index.php to "index2.php" and manually call the right file and adjust links that go to index.php until your site can go live.
Regards,
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/