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. Why add .html to WordPress pages?

    Why add .html to WordPress pages?

    Technical SEO Issues
    7 4 1.1k
    • 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.
    • acktivate
      acktivate last edited by

      A site I may take over has a plugin that adds .html to the pages. I searched online but I’ve only found how to add it rather than why to add it. Is it needed? If I remove it, I’ll have to be careful with SEO / indexed pages and redirects.  The site is running 3.x.x and 90% of the plugins have not been updated in over 5 years including this one. Before I update to 4.7.x, I am trying to understand the landscape (pros / cons) on why something could be used and if I need to find a suitable replacement for it.

      1 Reply Last reply Reply Quote 2
      • NickW816
        NickW816 last edited by

        Adding .html to the end of your URLs is not necessary and causes URLs to look less readable in my opinion. In taking over the site, definitely make sure to do proper 301 redirects and run a broken link check on it as well.

        1 Reply Last reply Reply Quote 1
        • LoganRay
          LoganRay last edited by

          There's only one logical reason I can come up with for this: At some point in the past, the site was not on WP and had .html extensions on URLs. When the site was moved to WP, they may have wanted to keep URLs exactly the same, which would require finding a way to add file extensions in WP.

          acktivate 1 Reply Last reply Reply Quote 1
          • acktivate
            acktivate @LoganRay last edited by

            Would it make sense in the long run to move away from adding .html? I don't want to jeopardize any rankings but I also like to keep WordPress plugins to a minimum.

            LoganRay 1 Reply Last reply Reply Quote 0
            • LoganRay
              LoganRay @acktivate last edited by

              I totally understand not wanting to rely on plugins if they're not necessary. 301 redirects generally don't impact the rankings of a site all that much if the redirects are pointing to the same content. So dropping .html by way of a single redirect rule is not likely to ruin your organic traffic numbers.

              acktivate 1 Reply Last reply Reply Quote 1
              • acktivate
                acktivate @LoganRay last edited by

                ok. thank you for your help.

                1 Reply Last reply Reply Quote 1
                • SergioB1717
                  SergioB1717 last edited by

                  Surely before you used blogger or something like that.

                  Once upon a time something similar happened to me!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Should I add my html sitemap to Robots?
                    Libra_Photographic
                    Libra_Photographic
                    0
                    3
                    72

                  • Non Published Wordpress Pages
                    R0bin_L0rd
                    R0bin_L0rd
                    1
                    5
                    2.3k

                  • If I want clean up my URLs and take the "www.site.com/page.html" and make it "www.site.com/page" do I need a redirect?
                    Booj
                    Booj
                    0
                    4
                    113

                  • Duplicate pages on wordpress
                    evolvingSEO
                    evolvingSEO
                    0
                    4
                    182

                  • Issue: Duplicate Page Content > Wordpress Comments Page
                    DomainUltra
                    DomainUltra
                    0
                    6
                    1.3k

                  • How can I change the page title "two" (artigos/page/2.html) in each category ?
                    sprynewmedia
                    sprynewmedia
                    0
                    3
                    118

                  • Wordpress html page
                    UnderRugSwept
                    UnderRugSwept
                    0
                    4
                    173

                  • Post vs page in Wordpress?
                    CMC-SD
                    CMC-SD
                    0
                    4
                    416

                  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