The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. HTML url extension

    HTML url extension

    Technical SEO Issues
    5 5 715
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PlusPort
      PlusPort last edited by

      I've read some information about the extension of an url. But i couldn't find a clear answer.

      What is better for SEO, an extension with html or without?

      /make-money-online/how-to-make-a-million-dollars-in-1-year/

      or

      /make-money-online/how-to-make-a-million-dollars-in-1-year.html/

      Is there a difference between a normal website or a blog?

      1 Reply Last reply Reply Quote 0
      • Alex-Harford
        Alex-Harford last edited by

        Without - it's more user-friendly and if you ever change the coding behind the website the URLs will remain the same. It doesn't matter whether it's a 'normal' website or a blog, without is the way.

        KeriMorgret 1 Reply Last reply Reply Quote 3
        • IKT
          IKT last edited by

          I would go with .html and drop the end "/"

          so /make-money-online/how-to-make-a-million-dollars-in-1-year.html

          I dont have a point to prove this, but google like static content more then dynamic content, a plain html files (in my humble opinion and faulted research) always ranked better then the one generated by xxx.php?whatever=1&A=2

          ... my 2 cents

          1 Reply Last reply Reply Quote -1
          • StevenMapes
            StevenMapes last edited by

            T.B.H file extension do not matter these days, they work as a hint on the type of document / content being served, but search engines will go by the actual file headers determine what it really is.

            You could have all of your files being served up as .hello and it really wouldn't matter that much.

            Just be consistent and you certainly don't want to use an extension followed by a / as that just looks confusing to the users.

            Personally I'd suggest using an extension purely due to backward compatibility especially if you are looking at using mobile devices, and in particular support for older mobile devices, as they can be very picky as to the naming convention of files.

            1 Reply Last reply Reply Quote 0
            • KeriMorgret
              KeriMorgret @Alex-Harford last edited by

              Agreed. You can change technology without changing URLs or having to do rewrites, which is a big benefit. Another benefit is that your URLs are shorter by four characters, making them a little easier to share.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • SEO URLs: 1\. URLs in my language (Greek, Greeklish or English)? 2\. Αt the end it is good to put -> .html? What is the best way to get great ranking?
                marioskal
                marioskal
                0
                7
                662

              • Dynamically serving different HTML on the same URL
                riyas_
                riyas_
                0
                4
                1.5k

              • Remove html file extension and 301 redirects
                Tom-Anthony
                Tom-Anthony
                1
                10
                4.0k

              • Site rebuild without HTML extension = broken links?
                JarnoNijzing
                JarnoNijzing
                0
                3
                425

              • Crawl reveals hundreds of urls with multiple urls in the url string
                irvingw
                irvingw
                0
                5
                455

              • URL restructure and phasing out HTML sitemap
                0
                1
                800

              • 301 an old URL with a ? in the URL?
                watchcases
                watchcases
                0
                2
                574

              • Will changing page extensions from .html to .php require a redirect?
                KeriMorgret
                KeriMorgret
                0
                10
                1.2k

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy