1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URLs with and without .html

Discussion in 'Blogging' started by Pronin, Jun 13, 2013.

  1. Pronin

    Pronin Newbie

    Joined:
    May 27, 2012
    Messages:
    37
    Likes Received:
    3
    Hi everyone!
    Has anyone ever noticed the SEO difference when optimizing pages with and without .html in the end of the URL?
    WP-wise, should I create pages and posts with or without .html? Is there any difference in ranking potential?

    Thanks
     
  2. scorpion king

    scorpion king Senior Member

    Joined:
    May 2, 2010
    Messages:
    1,157
    Likes Received:
    2,393
    Occupation:
    Entrepreneur
    Location:
    irc.blackhatworld.com
    URL with extension .html or .php won't make any difference in rankings. But people prefer going for non .html or .php versions because it looks good and clear. I feel if a site has .html for its pages like old school website and won't give much importance to that site.
    If you are building a custom site or using joomla or durpal you will have .html as extension. You can remove those with the help of free modules.
     
    • Thanks Thanks x 1
  3. Pronin

    Pronin Newbie

    Joined:
    May 27, 2012
    Messages:
    37
    Likes Received:
    3
    I'm building the site on WP and thinking about the URL structure. Currently I consider the following options:
    mysite.com/page
    mysite.com/page/
    mysite.com/page.html
    mysite.com/page/child-page,
    mysite.com/page/child-page/, and
    mysite.com/page/child-page.html
    So, will the trailing .html make any difference?
     
  4. ExpressFans

    ExpressFans Jr. VIP Jr. VIP

    Joined:
    Dec 11, 2011
    Messages:
    1,284
    Likes Received:
    528
    Occupation:
    Service Provider
    Location:
    Probably on GitHub
    Home Page:
    Google hates long links.

    So having shorter and cleaner links theoretically gives you an advantage.
    If you're working with a static html website just don't link your pages to the .html file, but the page folder.

    For example:
    "../custom-page/index.html" is BAD
    "../custom-page/" is GOOD
     
  5. Pronin

    Pronin Newbie

    Joined:
    May 27, 2012
    Messages:
    37
    Likes Received:
    3
    So you guys suggest that the shorter the URL the better for google?
    Does it mean that:
    mysite.com/child-page/ is better than
    mysite.com/page/child-page/
    and
    mysite.com/postname/ is better than
    mysite.com/category/child-category/postname/ ?
     
  6. CyberSEO

    CyberSEO Senior Member

    Joined:
    Jul 14, 2011
    Messages:
    939
    Likes Received:
    255
    Occupation:
    programmer
    Home Page:
    That doesn't matter actually.
     
  7. kindarthur

    kindarthur Jr. VIP Jr. VIP

    Joined:
    Nov 27, 2011
    Messages:
    2,212
    Likes Received:
    332
    Well...The post is informative ... and helps me to know the potentials of both non html and .html pages...!
     
  8. kindarthur

    kindarthur Jr. VIP Jr. VIP

    Joined:
    Nov 27, 2011
    Messages:
    2,212
    Likes Received:
    332
    can't delete the post.. unfortunately, i have posted 2 times ..

    P.S : MOD can you please remove this post - TY
     
    Last edited: Jun 14, 2013
  9. innozemec

    innozemec Jr. VIP Jr. VIP

    Joined:
    Aug 19, 2011
    Messages:
    5,288
    Likes Received:
    1,799
    Location:
    www.Indexification.com
    Home Page:
    in the past .html were ranked better than .php, but since couple of years it is all same, so go with whatever way you are comfortable with, be it with .html or without
     
  10. Joekok

    Joekok Newbie

    Joined:
    Jun 13, 2013
    Messages:
    9
    Likes Received:
    1
    Ya..think is all the same..but i never really thought of this before...I only think of the triple w and non triple w.
     
  11. Pronin

    Pronin Newbie

    Joined:
    May 27, 2012
    Messages:
    37
    Likes Received:
    3
    Ok. and what about the URL length? is it better to have
    mysite.com/category/subcategory/postname/ or
    mysite.com/postname/ ?
     
  12. mudbutt

    mudbutt Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    1,814
    Likes Received:
    4,276
    Location:
    ghosted
    Most of my non wordpress sites include the .html extension. They all rank fine. Just make sure your index page is redirecting to root.
     
  13. albertwilliam

    albertwilliam Newbie

    Joined:
    Jun 5, 2013
    Messages:
    12
    Likes Received:
    0
    There is nothing in difference between with or without html. You can make anyone if you like but make your URL should be simple.
     
  14. tech reaper

    tech reaper Newbie

    Joined:
    Jun 11, 2013
    Messages:
    37
    Likes Received:
    2
    I agree with people who say it does not matter. It's just a matter of how you name your file. I am actually a developer and even if you write same code in file.php and file.html, it is considered same but you can see that the extension is different but it is the stuff that matters i guess
     
  15. killerseonic

    killerseonic Junior Member

    Joined:
    Feb 5, 2013
    Messages:
    132
    Likes Received:
    21
    Location:
    Here + There
    Home Page:
    Its all about the Click Rate... the serps are another thing
     
  16. contech

    contech Newbie

    Joined:
    May 29, 2013
    Messages:
    30
    Likes Received:
    0
    Home Page:
    I read in one course that google crawl those link with html easier than those who doesn't have.
     
  17. innozemec

    innozemec Jr. VIP Jr. VIP

    Joined:
    Aug 19, 2011
    Messages:
    5,288
    Likes Received:
    1,799
    Location:
    www.Indexification.com
    Home Page:
    that was in the past
     
  18. scorpion king

    scorpion king Senior Member

    Joined:
    May 2, 2010
    Messages:
    1,157
    Likes Received:
    2,393
    Occupation:
    Entrepreneur
    Location:
    irc.blackhatworld.com
    If you have different category and subcategories then
    mysite.com/category/subcategory/postname/
    This is best. Here you are giving your user a very good experience and he knows exactly whr he is.
     
  19. SEOWhat

    SEOWhat Regular Member

    Joined:
    Feb 7, 2013
    Messages:
    245
    Likes Received:
    73
    Occupation:
    Web designer, We Developer, SEO
    Location:
    EU
    dont use links with more then 2 subfolders, I would prefer mysite.com/category/postname.html or mysite.com/category/postname/
     
  20. rongtuchien

    rongtuchien Junior Member

    Joined:
    Sep 2, 2012
    Messages:
    103
    Likes Received:
    7
    Without the HTML is better SEO-wise.

    The search engines take keywords from the url into account. Now the more words or characters there are in the url the weaker the power of a given keyword. The search engines take keywords from the url into account. It follows logically that there is no SEO advantage in adding '.html' at the end of the url.