Jump to content

[SOLVED] Can I use index.php on my website?


Davo

Recommended Posts

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.)

Link to comment
https://forums.phpfreaks.com/topic/106712-solved-can-i-use-indexphp-on-my-website/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.