Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. Home
    2. SEO Tactics
    3. Technical SEO
    4. Are .html pages better for ranking than .asp pages

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Are .html pages better for ranking than .asp pages

    Technical SEO
    6
    8
    3745
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • DavidS-282061
      DavidS-282061 last edited by

      It seems that .html pages do better for the long tail...

      1 Reply Last reply Reply Quote 0
      • AlanMosley
        AlanMosley @DavidS-282061 last edited by

        I'm not sure they dont matter, i would think that .pdf, .doc and. xps for example would be less usefull than a htm, asp, aspx.
        but David is correct, you are better of not haveing a file name.

        I develop using Microsoft Asp.MVC, there are no file names in MVC
        i believe seomoz is also written in MVC, cant remeber what tipped me off to that maybe some one from SEOMoz can confirm

        MVC also leaves very clean code, no postbacks or viewstate to clog up the code

        1 Reply Last reply Reply Quote 0
        • Getz.pro
          Getz.pro last edited by

          SEs use to devalue for dynamic content, but not anymore. .html might be better for the end user, but that is a small consideration.

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

            David's response is accurate. However, you can always rewrite the .aspx URL on the server and serve .html (or whatever). The server will see .aspx, but the visitor will see .html.

            Working with ASP

            I work strictly with PHP on Linux servers so I'm going to point you to a site that offers a tutorial I can't really vouch for. Head here for a tutorial detailing how to set up .asp to .html rewrites.

            Working with PHP

            On a Linux box, you can insert the following code into your .htaccess file to set up URL rewriting. I know the question wasn't about PHP and Linux. I'm just including this for others who might find it useful.

            RewriteEngine on
            RewriteBase /
            RewriteRule ^(.*).html$ $1.php [L]

            If you're interested in further information, here is a resource to help you learn more about working with .htaccess files.

            1 Reply Last reply Reply Quote 0
            • DavidKauzlaric
              DavidKauzlaric @DavidS-282061 last edited by

              The actual extensions don't matter. In fact, you should be using mod_rewrite to remove extensions on all your pages! All it does is add clutter and unnecessary junk to your URL strings. HTML is HTML, it doesn't matter if it's static, created using PHP, or created using ASP!

              1 Reply Last reply Reply Quote 0
              • Tom-Anthony
                Tom-Anthony @DavidS-282061 last edited by

                Good thinking, but actually HTML pages are not necessarily static, so I agree with David that it shouldn't make any difference. 🙂

                1 Reply Last reply Reply Quote 0
                • DavidS-282061
                  DavidS-282061 @DavidKauzlaric last edited by

                  Thanks,  So the search engines do not value one extension over the other...? I thought they might prefer html a little because has all that static code...

                  Tom-Anthony DavidKauzlaric AlanMosley 3 Replies Last reply Reply Quote 0
                  • DavidKauzlaric
                    DavidKauzlaric last edited by

                    There is no difference. ASP is just a web programming language that can output HTML code the same way a straight HTML page is HTML or PHP can output HTML. No difference.

                    If you mean having the actual extension in your URL, there is no difference.

                    DavidS-282061 1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    Got a burning SEO question?

                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                    Start my free trial


                    Browse Questions

                    Explore more categories

                    • Moz Tools

                      Chat with the community about the Moz tools.

                    • SEO Tactics

                      Discuss the SEO process with fellow marketers

                    • Community

                      Discuss industry events, jobs, and news!

                    • Digital Marketing

                      Chat about tactics outside of SEO

                    • Research & Trends

                      Dive into research and trends in the search industry.

                    • Support

                      Connect on product support and feature requests.

                    • See all categories

                    Related Questions

                    • CitimarineMoz

                      How effective are 301 redirects in passing page rank?

                      301 redirect page rank

                      I have a blog which is ranking well for certain terms, and would like to repurpose it to better explain these terms it is ranking for, including updating the url to the new term the blog will be about. The plan being to 301 redirect the old url to new. In the past, I've done this with other pages, and have actually lost much of the rankings that I had earned on the original URL. What is your take on this? Maybe repurpose blog, but maintain original URL just to be on the safe side? Thanks

                      Technical SEO | | CitimarineMoz
                      0
                    • AL123al

                      Page Rank Flow

                      I wonder if someone can help me understand clearly page rank flow. If we have a website with a Home page, Services, About and Contact as a very basic website and the page rank will flow to each of those pages from the Home page (i'm not including internal linking between pages or anchor text from the home page content - this is a question purely about home page flow via the main navigation). If the Services page had 3 drop down pages. Would the home page rank also flow to each of these or is it going to the Services page which then distributes it to the three drop down. So instead of Home page rank flowing to 3 pages 33% each - it is flowing to 6 pages 16.6% each. Or is it flowing to 3 pages - 33.3% then the Services pages get a third of 33.3% ->10.1% I know this is simplifying it all a great deal- but it is the basic concept I am trying to grasp on this simple example. Thanks

                      Technical SEO | | AL123al
                      0
                    • acktivate

                      Why add .html to WordPress pages?

                      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.

                      Technical SEO | | acktivate
                      2
                    • GoMentor

                      Best way to change URL for already ranking pages

                      Hello. I have a lot of pages that I'm optimising. The ones I'm focusing on right now is already ranking, but the URLs could be better (they don't include the keywords right now). However I'm worried that if I change the URLs they will drop in rankings or have to start over. I would of course set up 301 redirect, but is there more I need to do? What is the best way to change URL for already ranking pages?

                      Technical SEO | | GoMentor
                      0
                    • MTalhaImtiaz

                      Are image pages considered 'thin' content pages?

                      I am currently doing a site audit. The total number of pages on the website are around 400... 187 of them are image pages and coming up as 'zero' word count in Screaming Frog report. I needed to know if they will be considered 'thin' content by search engines? Should I include them as an issue? An answer would be most appreciated.

                      Technical SEO | | MTalhaImtiaz
                      0
                    • vivekrathore

                      Is it good to redirect million of pages on a single page?

                      My site has 10 lakh approx. genuine urls. But due to some unidentified bugs site has created irrelevant urls 10 million approx.  Since we don’t know the origin of these non-relevant links, we want to redirect or remove all these urls. Please suggest is it good to redirect such a high number urls to home page or to throw 404 for these pages.  Or any other suggestions to solve this issue.

                      Technical SEO | | vivekrathore
                      0
                    • ProjectLabs

                      Determining When to Break a Page Into Multiple Pages?

                      Suppose you have a page on your site that is a couple thousand words long. How would you determine when to split the page into two and are there any SEO advantages to doing this like being more focused on a specific topic. I noticed the Beginner's Guide to SEO is split into several pages, although it would concentrate the link juice if it was all on one page. Suppose you have a lot of comments. Is it better to move comments to a second page at a certain point? Sometimes the comments are not super focused on the topic of the page compared to the main text.

                      Technical SEO | | ProjectLabs
                      1
                    • JU1985

                      Handling 301s: Multiple pages to a single page (consolidation)

                      Been scouring the interwebs and haven't found much information on redirecting two serparate pages to a single new page.  Here is what it boils down to: Let's say a website has two pages, both with good page authority of products that are becoming fazed out.  The products, Widget A and Widget B, are still popular search terms, but they are being combined into ONE product, Widget C.  While Widget A and Widget B STILL have plenty to do with Widget C, Widget C is now the new page, the main focus page, and the page you want everyone to see and Google to recognize. Now, do I 301 Widget A and Widget B pages to Widget C, ALTHOUGH Widgets A and B previously had nothing to do with one another?   (Remember, we want to try and keep some of that authority the two page have had.) OR do we keep Widget A and Widget B pages "alive", take them off the main navigation, and then put a "disclaimer" on the pages announcing they are now part of Widget C and link to Widget C? OR Should Widgets A and B page be canonicalized to Widget C? Again, keep in mind, widgets A and B previously were not similar, but NOW they are and result in Widget C. (If you are confused, we can provide a REAL work example of what we are talkinga about, but decided to not be specific to our industry for this.) Appreciate any and all thoughts on this.

                      Technical SEO | | JU1985
                      0

                    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
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority 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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy

                    Looks like your connection to Moz was lost, please wait while we try to reconnect.