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. Adding .html To Wordpress Site

    Adding .html To Wordpress Site

    Technical SEO Issues
    5 3 961
    • 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.
    • kbloemendaal
      kbloemendaal last edited by

      I am working on a team (my part is the SEO) where the developer added the .html extension to the permalinks. I don't understand why, on Wordpress, you would do this.

      Is there any benefit, or penalty for it as an SEO standpoint?

      I usually just set mine up %postname% as the permalink structure, but I am not the web design lead on this project.

      I asked the designer why, but he seems to be reluctant to answer any of my emails about his work, (like he is above that or something).

      Not wanting to make things worse, I dropped it and thought I would ask here since I saw a few posts in reference to it today in the forum.

      Is there an advantage or disadvantage (either way) to using the .html extension on a Wordpress site?

      1 Reply Last reply Reply Quote 0
      • danbocain
        danbocain last edited by

        Nope, either should be fine. The biggest thing to remember is if you change any URL structure, setup 301 redirects to go from the page's old URL to the new URL.

        kbloemendaal 1 Reply Last reply Reply Quote 1
        • kbloemendaal
          kbloemendaal @danbocain last edited by

          Then I guess I would ask why? Why would you setup a wordpress (new installation) blog to have .html extension? You have to go out of your way, as the default is to not have it.

          Just old school? If there is no benefit, I just wonder why I guess.... but not that it matters much.

          danbocain 1 Reply Last reply Reply Quote 0
          • danbocain
            danbocain @kbloemendaal last edited by

            My guess is either developer preference or lack of knowledge. Joomla is the same way. You can have domain.com/about  or domain.com/about.html - both accomplish the same thing, one takes an extra step to do (adding the .HTML suffix.)

            I guess if you are coming off of an old static HTML site and moving to a CMS, including the .html would allow you to keep the same URL structures much easier than setting up 100s of redirects.

            1 Reply Last reply Reply Quote 0
            • AlanMosley
              AlanMosley last edited by

              There is no advanage, but there is disadvanatges.

              There s the fact that now you have a 301 redirect to the new url. every 301 redirecte leaks link juice.

              there is also the conversion factor, where you really want clear clean data, haveing the .html makes things look that little bit messy.

              Most people rewite the other way for this reason, to get rid of the extentions.

              Try uising the old url, does it work?

              I dont use wopprdpress of develop in php, but php being a server side technology, the webserver will need to know that the page is php. So i assume what the dev has done is rewite the urls, so when .html is used, it rewrites to a url that the web server can understand. When you do a rewite you need to do a 301 redirect from the old url to the new url so that you dont get duplicate contnet, you can not have both redering the same content. UYou also need to change every internal link on the site so that they link directly to the new url, you dont want your internal links going thougth a 301 as they leak link juice, leaking link juice on internal links that you have full control over is an un-necessary waste.

              See http://thatsit.com.au/seo/tutorials/friendly-urls-using-url-rewrites-with-iis

              This is for Microsoft IIS serrver, but the concept is the same

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Why add .html to WordPress pages?
                SergioB1717
                SergioB1717
                2
                7
                1.1k

              • Moving site from html to Wordpress site: Should I port all old pages and redirect?
                Linda-Vassily
                Linda-Vassily
                0
                2
                56

              • Help! added WWW to wordpress site and now lost SEO ranking
                4RS_John
                4RS_John
                0
                8
                227

              • Will sitemap generated in Yoast for a combined wordpress/magento site map entire site ?
                Dan-Lawrence
                Dan-Lawrence
                0
                5
                1.4k

              • Way to spider Wordpress site
                evolvingSEO
                evolvingSEO
                0
                3
                982

              • Installing WordPress on a site OR just adding a blog page on the site - Which one is better and why ?
                Personnel_Concept
                Personnel_Concept
                0
                5
                301

              • Wordpress html page
                UnderRugSwept
                UnderRugSwept
                0
                4
                173

              • Redirect from old wordpress site to new php site? Best approach
                Vahe.Arabian
                Vahe.Arabian
                0
                7
                844

              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