Digital Point Forums
Winn Law Group

Go Back   Digital Point Forums > Marketing > Search Engine Optimization
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Jan 24th 2006, 4:40 pm
mattr2110 mattr2110 is offline
Hand of A'dal
 
Join Date: Jan 2006
Posts: 262
mattr2110 is on a distinguished road
PHP, HTML does it matter

Does the file extension matter to search engines or is it all code based? I ask because I have one page that was made in HTML put renamed it to php.
__________________
www.scriptmob.com
Scripting code, news and resources for network administrators
Reply With Quote
  #2  
Old Jan 24th 2006, 4:48 pm
mdvaldosta's Avatar
mdvaldosta mdvaldosta is offline
Starcaller
 
Join Date: Sep 2005
Location: Valdosta, GA
Posts: 4,032
mdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant futuremdvaldosta has a brilliant future
It doesn't matter at all what file extension is used. Now, with that said if SE's indexed a html version and you changed it to php, then their going to have to re-cache the page because it's seen as a different web page.
__________________
I have no signature, cause that's how I roll.
Reply With Quote
  #3  
Old Jan 24th 2006, 6:08 pm
cpucandy cpucandy is offline
Hand of A'dal
 
Join Date: Oct 2005
Location: Pennsylvania
Posts: 489
cpucandy will become famous soon enoughcpucandy will become famous soon enough
You can easily make your .html files run php code by adding an apache handler. You can check with your hosting company on how to do this. If they use Cpanel, you can go into your "mime types" and added a user defined handler.

Ex.
Mimetype = application/x-httpd-php
extension = .html
__________________
Spyware Removal trials. | Career and Interview Advice |
Reply With Quote
  #4  
Old Jan 24th 2006, 8:44 pm
irka's Avatar
irka irka is offline
of the Nightfall
 
Join Date: Jan 2006
Location: France
Posts: 1,862
irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
it doesn't matter at all whether you use HTML or PHP for a search engine, it's the same. The only convinience about php is that many search engines index it very fast isnt it ? I always see a php website get indexed more faster than a HTML one.
Reply With Quote
  #5  
Old Jan 27th 2006, 11:27 am
mattr2110 mattr2110 is offline
Hand of A'dal
 
Join Date: Jan 2006
Posts: 262
mattr2110 is on a distinguished road
Quote:
Originally Posted by cpucandy
You can easily make your .html files run php code by adding an apache handler. You can check with your hosting company on how to do this. If they use Cpanel, you can go into your "mime types" and added a user defined handler.

Ex.
Mimetype = application/x-httpd-php
extension = .html
Veryl cool I will try this. Thanks
__________________
www.scriptmob.com
Scripting code, news and resources for network administrators
Reply With Quote
  #6  
Old Jan 27th 2006, 1:31 pm
adolix's Avatar
adolix adolix is offline
Twilight Vanquisher
 
Join Date: Sep 2005
Location: Timisoara
Posts: 784
adolix will become famous soon enough
Quote:
Originally Posted by irka
it doesn't matter at all whether you use HTML or PHP for a search engine, it's the same.

The only convinience about php is that many search engines index it very fast isnt it ? I always see a php website get indexed more faster than a HTML one.
1st phrase - true
2nd phrase - false

the only fact that you have to think of is that most SE don't like URLs with more than 2 parametes. so if you have:
index.php?id=10&product=cars&username=john
SE won't like it and will rate it not very well. so you should use HTACCESS rewriting, which is not very easy, but it very powerfull. you chose your own encoding, something like this one from above for example:
view-products-cars-item-10-seller-john.html

good luck.
__________________
HTML Forms | pdf converter |
Manual Directory Submission service
- [150 dirs / $15] -
Reply With Quote
  #7  
Old Jan 27th 2006, 6:02 pm
Eclipsis's Avatar
Eclipsis Eclipsis is offline
Peon
 
Join Date: Jan 2006
Location: Lannion, France
Posts: 12
Eclipsis is on a distinguished road
I agree with adolix about the "falseness" of the second phrase.
I have made a one-year long test about Google's preferences aconcerning the file extensions for pages, and it doesn't seem to make a big difference. Yet in my test(s), the asp extension seems a little unfavored. .php and .html (or .htm) were about the same.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess, AddType application/x-httpd-php .php .htm .html, and maybe a Fix... LegalClipper Setup / Validation Help 21 Nov 11th 2009 7:22 am
html to php palahubog Search Engine Optimization 8 Dec 16th 2005 6:01 am
.html rank over .php InGearX Search Engine Optimization 14 Oct 31st 2005 8:09 pm
.html and .php Max Powers Search Engine Optimization 6 Oct 6th 2005 6:11 pm
PHP in HTML, works fine as PHP but not as HTML swmidirectory PHP 6 Aug 2nd 2005 12:27 am


All times are GMT -8. The time now is 3:26 pm.