Davo Posted May 22, 2008 Share Posted May 22, 2008 Hello all I am doing some work on an existing website - most of which uses PHP. The website has an html index page that redirects to the home page. I was wondering if I could swap that html index for a PHP one? (If I google index.php I just get stuff on Barak Obama!!!) Will the browsers recognise index.php or does it always have to be index.html? Thanks Davo (ps. The reason for wanting to change it in the first place is that google seems to only index that html file. (I think the google bot doesn't like the redirect.) It makes more sense to me to rename the home.php file index.php and skip the redirect altogether.) Quote Link to comment Share on other sites More sharing options...
yuws Posted May 22, 2008 Share Posted May 22, 2008 yes you can change it to index.php it will work. Quote Link to comment Share on other sites More sharing options...
Davo Posted May 22, 2008 Author Share Posted May 22, 2008 Brilliant! Thanks - Have we got a topic solved thingy yet? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.