26 replies
  • WEB DESIGN
  • |
can anybody tell me if there is a difference from an seo standpoint between

page.php and page.html are they view equally by google?
#html #php
  • Profile picture of the author SteveJohnson
    no difference.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[3172403].message }}
  • Profile picture of the author JacksSmith
    I think their is no difference because Google's spider crawl's every pages on internet without any conditions.
    {{ DiscussionBoard.errors[3173287].message }}
  • Profile picture of the author FabianSmith
    The Hypertext Markup Language or HTML is the oldest and most commonly used method of creating web pages. It is very simple and just within a few minutes, a coder can easily create a simple web page with text and a couple of images. You can do the same with PHP since its output gets processed by HTML and if you inserted the same HTML code you would also get the same result. This is due to the fact that the end product of PHP code, and what gets sent to the browser is in HTML. So the browser would get the same HTML code if you set it as the output of your PHP script, but if you want to take advantage of the advanced features that PHP offers you would need to spend a little bit more time.

    Coding in HTML means that the pages you code would always appear the same depending on which browser you are using. PHP allows the coder to create an HTML page or section of it dynamically. As an example, if you want to create a site that would display all the letters of the alphabet individually in its own page, you would need to create a page for each letter if you are using HTML but you would only need one page with PHP. PHP is also capable of taking data and use or manipulate it to create the output that the user desires. A web page that can take two numbers, add it, and present the result to the user is very easy to do with PHP but not with HTML.



    Because of the additional features of PHP, it needs to implement a proper structure in coding. Unlike HTML where anything you put in creates an output, PHP would not give you an output if something is wrong with your code. The learning curve of PHP is also much steeper compared to HTML. You would need a considerably longer time to learn PHP than in learning HTML though you would still need to learn HTML to learn PHP.

    Summary:
    1. HTML is a markup language while PHP is a scripting language
    2. The output of PHP is usually in HTML code which the browser can then interpret
    3. HTML codes are static and they are always the same every time they are opened while PHP files are dynamic and the output might not always be the same
    4. HTML is very easy and forgiving of mistakes while PHP isn’t
    {{ DiscussionBoard.errors[3173730].message }}
    • Profile picture of the author rosesmark
      Originally Posted by FabianSmith View Post

      The Hypertext Markup Language or HTML is the oldest and most commonly used method of creating web pages. It is very simple and just within a few minutes, a coder can easily create a simple web page with text and a couple of images. You can do the same with PHP since its output gets processed by HTML and if you inserted the same HTML code you would also get the same result. This is due to the fact that the end product of PHP code, and what gets sent to the browser is in HTML. So the browser would get the same HTML code if you set it as the output of your PHP script, but if you want to take advantage of the advanced features that PHP offers you would need to spend a little bit more time.

      Coding in HTML means that the pages you code would always appear the same depending on which browser you are using. PHP allows the coder to create an HTML page or section of it dynamically. As an example, if you want to create a site that would display all the letters of the alphabet individually in its own page, you would need to create a page for each letter if you are using HTML but you would only need one page with PHP. PHP is also capable of taking data and use or manipulate it to create the output that the user desires. A web page that can take two numbers, add it, and present the result to the user is very easy to do with PHP but not with HTML.



      Because of the additional features of PHP, it needs to implement a proper structure in coding. Unlike HTML where anything you put in creates an output, PHP would not give you an output if something is wrong with your code. The learning curve of PHP is also much steeper compared to HTML. You would need a considerably longer time to learn PHP than in learning HTML though you would still need to learn HTML to learn PHP.

      Summary:
      1. HTML is a markup language while PHP is a scripting language
      2. The output of PHP is usually in HTML code which the browser can then interpret
      3. HTML codes are static and they are always the same every time they are opened while PHP files are dynamic and the output might not always be the same
      4. HTML is very easy and forgiving of mistakes while PHP isn't
      I am glad to you.I found your tips..
      {{ DiscussionBoard.errors[3975863].message }}
  • Profile picture of the author seoiwc2010
    In my view i think there is on difference between .html and .php both are same that's just a extension that's it...
    {{ DiscussionBoard.errors[3174239].message }}
  • Profile picture of the author iwtmmo
    I think there is no difference. But if the page like:
    page.php?id=1
    page1.html

    I think the search engine like "page1.html" than "page.php?id=1".
    {{ DiscussionBoard.errors[3174433].message }}
  • Profile picture of the author Big Squid
    There is no particular difference BUT you can create a more efficient SEO campaign by using PHP. You can display several different keyword-optimized headlines and title tags with PHP.

    Plus, you can change the anchor text to internal links.
    {{ DiscussionBoard.errors[3190526].message }}
  • Profile picture of the author ObsidianKnight
    The primary difference may be the ratio of content.

    PHP code is not considered as part of the "keyword indexable" page, as the Big G cares about content, not programming code. However, it may affect overall page size. More code will increase page size, so a 1% keyword density might not be accurate from one page type to another.

    I cannot tell you if it would be a signifigant difference. You would have to test and compare.
    {{ DiscussionBoard.errors[3190542].message }}
  • Profile picture of the author espinteractive
    Google gives equal importance all the languages.
    {{ DiscussionBoard.errors[3976668].message }}
  • Profile picture of the author summerfranken
    [DELETED]
    {{ DiscussionBoard.errors[3976770].message }}
    • Profile picture of the author Mkj
      You can ofcourse create php files but use htaccess to rewrite the files to html. Best of both worlds then. You would use this type of htaccess code:

      RewriteEngine On
      RewriteRule ^name of file here.html$ name of file here.php [L]

      With the above you can create a php file but use a html extension to link to it.
      {{ DiscussionBoard.errors[3978311].message }}
  • Profile picture of the author ussher
    The _only_ difference that a webspider will see is the .php or .html extension on the page.

    There is no PHP on your webpage itself. Php is on the server ALL of the page that is returned to the browser is 100% html.

    Php is a server language used to build html pages.
    Signature

    "Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."

    - jamroom.net
    Download Jamroom free: Download
    {{ DiscussionBoard.errors[3980876].message }}
    • Profile picture of the author hostgrant200
      PHP is very good language
      It is best scripting language to design attractive web pages...
      {{ DiscussionBoard.errors[4027250].message }}
  • Profile picture of the author conceptsti
    i prefer .html but search engines don't prefer one or the other.
    {{ DiscussionBoard.errors[3981016].message }}
    • Profile picture of the author mojojuju
      Everybody knows that search engines favor filenames with the .htm extension.
      Signature

      :)

      {{ DiscussionBoard.errors[3981165].message }}
  • Profile picture of the author Saranya2011
    Yeah exactly correct.. Google gives equal importance of all languages..
    {{ DiscussionBoard.errors[3981653].message }}
  • Profile picture of the author johnmarsh12
    To be clear, the JIT compilation extension to the Zend Engine won’t replace opcode caching and they can be made to work together in harmony. There are benefits to having both. In order to make sure the right members read your post, I'll move it to the programming section. You should get some great replies there.
    {{ DiscussionBoard.errors[3982382].message }}
  • Profile picture of the author webtwilight
    THere are no big difference between the two.
    Signature
    {{ DiscussionBoard.errors[3986495].message }}
  • Profile picture of the author Jason Clay
    If your PHP code does not generate the proper HTML, then there will be a difference.
    {{ DiscussionBoard.errors[3986990].message }}
  • Profile picture of the author ussher
    more important than the question "does the file extension end with .php or .html", is the question, "Does the HTML validate"?

    You can get the HTML wrong by coding it directly or by coding it with php.

    Check your pages validate here:
    The W3C Markup Validation Service
    Signature

    "Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."

    - jamroom.net
    Download Jamroom free: Download
    {{ DiscussionBoard.errors[3987064].message }}
  • Profile picture of the author seomelbourne
    PHP is server side, HTML is browser side But i think PHP is better option than HTML...!
    {{ DiscussionBoard.errors[4008031].message }}
  • Profile picture of the author Gayl
    PHP is the hypertext preprocessor... Meaning, PHP is the code that parses on the server before the HTML code is ever sent to the client... There is no "switching" from HTML to PHP.... PHP works with HTML.
    {{ DiscussionBoard.errors[4008305].message }}
  • Profile picture of the author harveen0019
    Not much difference. But html is better for seo.
    {{ DiscussionBoard.errors[4015920].message }}
    • Profile picture of the author mojojuju
      Originally Posted by harveen0019 View Post

      Not much difference. But html is better for seo.
      Wrong. Binary files are better for seo.
      Signature

      :)

      {{ DiscussionBoard.errors[4015941].message }}
  • Profile picture of the author richardjmartinez
    i think there is no difference..
    {{ DiscussionBoard.errors[4024196].message }}
  • Profile picture of the author johnsander1
    According to Google there is no difference because google crawl every page in-spite it is .php or .html
    {{ DiscussionBoard.errors[4025231].message }}
    • Profile picture of the author jhony
      finally see the answer here
      {{ DiscussionBoard.errors[4026852].message }}

Trending Topics