Debt - Tutoriales de informatica - Mortgages - Mortgage Calculator - Xbox Games

PDA

View Full Version : Adding a landing page


timelf123
Aug 3rd 2007, 9:43 pm
I am currently running a site on Joomla, and would like to be able to add a landing page for the main domain. What code can I use to rewrite the index.php to say, index2.php, or to force apache to use my new page as the index? I suppose I could do this in php and AJAX as well, but a rewrite seems the best option

iMountain
Aug 4th 2007, 12:56 pm
I'm not sure if I'm reading this right, but here's an idea.

Depending on the webserver, you can just add index.html.

index.html usually gets higher precedence over your index.php file.