.php files or .html files are best for SEO?

Discussion in 'Search Engine Optimization' started by MyFishTankNet, Jul 24, 2006.

  1. Rouier

    Rouier Banned

    Messages:
    287
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #21

    No, they are equal. Search engines don't discriminate based on file extensions.
     
    Rouier, Jul 25, 2006 IP
  2. MyFishTankNet

    MyFishTankNet Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #22
    so then if one was using "includes" to add in navigation and what not, it would be better to use PHP because when you view the source, it would display what was in that php include file. with the javascript method, it only shows for example...
    <script language="JavaScript" src="include-top.js"></script>
    Code (markup):
    as where a php include would then display the actual code inside the file. which would then be better for SEO.

    so is that thinking the correct way to see it?
     
    MyFishTankNet, Jul 25, 2006 IP
  3. vistadivine.com@gmail.com

    vistadivine.com@gmail.com Banned

    Messages:
    609
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #23
    if you use Javascript navigation then make sure that you use text links at the bottom of each and every page because search bots cant index links in Javascripts.

    Akash Kumar
     
  4. seoengineer

    seoengineer Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #24
    I think PHP is better than HTML, because with .php files we can include files and they serve as reusibilty factor in SEO, for eg if you have 1000's of pages in a site and all are .php files and if you want to change any link or some content which is present in all the pages, .php include files serves a easy solution to replace in one file will be incorporated in all the files where as in .html either you have to replace the code or do it manually per page. Try and adopt .php which serves a better long term benefit as well.
     
    seoengineer, Jul 25, 2006 IP
  5. ewan

    ewan Peon

    Messages:
    233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Just for good measure, Both html and php are fine :)

    i agree with people who said that
     
    ewan, Jul 25, 2006 IP
  6. ewc21

    ewc21 Peon

    Messages:
    455
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #26
    Both are good for SEO, no difference at all. It depends on what type of content they display.
     
    ewc21, Aug 14, 2006 IP
  7. softwareengg07

    softwareengg07 Member

    Messages:
    106
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #27
    .php & .html both are good .it also depends on the way of use.
     
    softwareengg07, May 24, 2010 IP
  8. mrxinbollywood

    mrxinbollywood Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #28
    same question from me, in between aspx and html which is good for seo purpose.
     
    mrxinbollywood, May 24, 2010 IP
  9. bruce_robart

    bruce_robart Member

    Messages:
    547
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #29
    go with both i guess that google is give same important to both extension well my websites is running on both extension smoothly..
     
    bruce_robart, May 24, 2010 IP
  10. littlejohn199

    littlejohn199 Peon

    Messages:
    42
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #30
    php or html are the same as long as the the urls are user-friendly and contain keyword to your webpage. So, if your php page is like
    yourscript.php?x=d&y=u&k=3222 compares to my-y-k.html, then yeah your html page would be better.
    Use php only if your web page has php code that needs to be parsed.
     
    littlejohn199, May 16, 2011 IP
  11. revium

    revium Member

    Messages:
    330
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #31
    You are correct that you should not include your navigation with javascript. That is not good for SEO since the search engines have a difficult time following links within javascript.
     
    revium, May 16, 2011 IP
  12. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #32
    .php, .asp, .html... all will preform the same if the content is the same
    in otherwords, it doesn't matter at all.
     
    Brandon Sheley, May 16, 2011 IP
  13. golfpro1

    golfpro1 Peon

    Messages:
    3,058
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #33
    I don't think it makes much difference, only exception is if the server doesn't allow PHP :)
     
    golfpro1, May 17, 2011 IP
  14. mosaicpro

    mosaicpro Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #34
    .html is matchless. I always prefer this one for my website. I can bet that it is seo and search engine friendly
     
    mosaicpro, May 17, 2011 IP
  15. sportychints

    sportychints Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #35
    Both is valid for the search engine but I preferred .HTML
     
    sportychints, May 17, 2011 IP
  16. johneva

    johneva Well-Known Member

    Messages:
    1,480
    Likes Received:
    46
    Best Answers:
    1
    Trophy Points:
    170
    #36
    Makes no difference aslong as you use seo freindly URL's, but you said your not planning on using dynamic urls anyway.

    You could always opt for using multiveiws and hav no file extensions at all, the file extension makes no difference at all, and in terms of coding the search engine sees it makes no difference really either as PHP is delt with server side and the spiders will only read the html output anyway.
     
    johneva, May 17, 2011 IP