Page 1 of 1

Web page extensions?

Posted: Thu May 14, 2009 12:40 pm
by macbeth
I am creating a brand new site as a php newbee and I will have some pages that will not use any php code. My question is:

What is the standard procedure for naming conventions for web sites that have mixed pages? Do I just name every page with a .php extention or should I have mixed .html and .php pages in my web site?

Re: Web page extensions?

Posted: Thu May 14, 2009 12:48 pm
by crazycoders
If you start doing a php website but plan on having static content, i would still recommend doing a .php only site. Sure some pages will not have PHP to run but it's nothing compared to the trouble of actually changing the links sitewide the day you decide to rename that static content file to a .php extension. So you are better off doing all php pages although no php may appear in them!

Re: Web page extensions?

Posted: Thu May 14, 2009 12:56 pm
by macbeth
That makes a lot of sense. Thanks so much for the reply.