Welcome to WebmasterWorld Guest from 54.163.52.98

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

can we use .htm file .php

if we use php exetensions for html files

     

primelibra

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

10+ Year Member



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

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

10+ Year Member



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

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

10+ Year Member



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

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

10+ Year Member



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

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

10+ Year Member



see here [webmasterworld.com]

;o)
(or

 

Featured Threads

Hot Threads This Week

Hot Threads This Month