Welcome to WebmasterWorld Guest from

Forum Moderators: mademetop

Message Too Old, No Replies

Moving from index.html to index.php

Will the transition be silky smooth?

1:19 pm on Jul 29, 2003 (gmt 0)

New User

10+ Year Member

joined:June 25, 2002
votes: 0

I've always agreed with whoever coined 'a good page never changes'. My filenames never have and I've got some very solid old links now.

Thing is, now I want to change the filename of my index from index.html to index.php. This seems fine as everyone links to me using domain.com/ not domain.com/index.html.

Is this right? My finger is hovering over the red button and my head is swimming :)

2:25 pm on July 30, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member agerhart is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 29, 2001
votes: 0

I would go ahead with it. You may want to use your Htaccess, robots.txt, or another method to make sure that you are alright. You probably don't need to, but it never hurts to be safe.
6:52 pm on July 30, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:July 21, 2003
votes: 0

If you have access to your .htaccess file, you may want to consider including:

<Files index.html>
ForceType application/x-httpd-php

For me this allowed me to continue with the filename index.html but it is now parsed as if it were PHP so I can include PHP code within it.

11:27 pm on July 30, 2003 (gmt 0)

New User

10+ Year Member

joined:June 25, 2002
votes: 0

Thanks for your help, using .htaccess seems like the smart option :)

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members