
<< Back to Knowledge Base Overview
HOW TO PREVENT A FANTASTICO INSTALLED SCRIPT FROM GOING "LIVE"
see http://www.javascriptkit.com/howto/htaccess6.shtml
It is possible to use a script - like Wordpress from a Fantastico Install and not have your site come up until you are ready for it to be seen by everyone.
It is done through the .htaccess file which is accessible through cpanel File Manager in public_html folder.
So,
i. we have set up an underconstruction page for you which is named "default.html"
ii. Wordpress ( and most Fantastico Scripts) automatically names your Home Page "index.php"
iii. If you were to place the following rule into the .htaccess file ( It is case sensitive)...
DirectoryIndex default.htm index.php
...the website will open in the following hierarchical order:
1. Underconstruction page first,2. and then if that file does not exist, it will open the Wordpress home page.
iv. So once you have completed the Wordpress Site you would go back in to cpanel> File Manager and change the default.htm file name to something like
default_old.html and the .htaccess file will kick in to display the wordpress home file (index.php) on your site.v. At any stage you want to bring back the underconstruction page all you would need to do is to change the file name back to default.html