homepage Welcome to WebmasterWorld Guest from 54.161.190.9
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
can we use .htm file .php
if we use php exetensions for html files
primelibra




msg:1274370
 5:53 am on Jun 5, 2004 (gmt 0)

can we use .htm file .php
if we use php exetensions for html files

will google spider will take thses file data.

i would like to give my all new pages php extension.

kinldy guide is there any problem?

or i will get any benefits in ranking?

 

mykel79




msg:1274371
 10:48 am on Jun 5, 2004 (gmt 0)

I'm not sure I understand correctly. You want to take a normal static HTML file and name it something.php?
There will definitely NOT be any benefit to rankings. There is no sense in doing so, since if the file is .php, the server has to parse it (looking for php code). This puts an unnecessary load on the server.

brucec




msg:1274372
 6:03 pm on Jun 5, 2004 (gmt 0)

Yes, Google honors web pages with PHP extension.

My whole web site is .PHP including our home page(index.php) and we are at top of Google for most of our products.

Keep in mind, that Google could care less about the file extension. As long as the web page is parse as HTML, which PHP does, then it is find by Google.

I hope this answers your question. Go for it.

WhosAWhata




msg:1274373
 3:33 am on Jun 6, 2004 (gmt 0)

if you really wan't to make it seem like you have .php,
throw in a .htaccess file, you can use it to either
make .php redirect to .htm
or make .htm parse PHP code

going through and renaming all files and changing links is too much work, of course if all file permissions are set to 0777 you can write a php file to go through and change all of the .htm(l) to .php in the source and then rename the file, but this is a lot of unnecessary work

corz




msg:1274374
 11:34 am on Jun 6, 2004 (gmt 0)

see here [webmasterworld.com]

;o)
(or

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved