Forum Moderators: phranque

Message Too Old, No Replies

Renaming index.htm to index.php

Will it Create any problems?

         

asas111

11:15 pm on Sep 13, 2008 (gmt 0)

10+ Year Member



I want to add a few SQL/PHP scripts to my home page.

Currently, my home page is named: index.htm

But adding these scripts requires that I change the page to index.php

My question is: will this create any problem? mainly in terms of links to my home page.

Like will links pointing to www.example.com/index.htm become invalid? or as long as I have one version of index, things should work fine?

Please help

[edited by: phranque at 9:47 am (utc) on Sep. 21, 2008]
[edit reason] exemplified url [/edit]

jbinbpt

11:25 pm on Sep 13, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You do not have to change the file extension. You can run php in a html file. This thread [webmasterworld.com]is a good start.

Also pages that link to your home page should not specify the file. Use www.example.com/ instead of www.example.com/index.html