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. Intermediate & Advanced SEO
    4. Extensions Vs Non Extensions

    Extensions Vs Non Extensions

    Intermediate & Advanced SEO
    5 2 119
    • 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.
    • Whittie
      Whittie last edited by

      Hello,

      I'm a big fan of clean urls. However i'm curious as to what you guys do, to remove them in a friendly way which doesn't cause confusion.

      Standard URLS
      http://www.example.com/example1.html
      http://www.example.com/example2.html
      http://www.example.com/example3.html
      http://www.example.com/example4.php
      http://www.example.com/example5.php

      What looks better (in my eyes)
      http://www.example.com/example1/
      http://www.example.com/example2/
      http://www.example.com/example3/
      http://www.example.com/example4/
      http://www.example.com/example5/

      Do you keep extensions throughout your website, avoiding any sort of confusion and page duplication;

      OR

      Put a canonical link pointing to the extension-less version of each page, with the anticipation of this version indexing into Google and other Search Engines.

      OR

      301 Each page which has an extension to an extension-less version, and remove all linking to ".html" site wide causing errors within software like Dreamweaver, but working properly.

      OR

      Another way? Please emphasise

      I'm sorry if this is a little vague and I appreciate any angles on this, I quite like clean url's but unsure a hassle-less way to create it.

      Thanks for any advice in advance

      1 Reply Last reply Reply Quote 0
      • 2MSens
        2MSens last edited by

        Hi,

        Good point. As I see it, website visitors do not care about the extension ".something", this is just a development issue. So the best way is to avoid it, as people will remember the URL, not the extension.

        Best is to use 301 redirection and keep clean URL, there is no need to keep duplicate pages.

        Let me know if that helps 🙂

        Best,

        • Benoit.
        1 Reply Last reply Reply Quote 1
        • Whittie
          Whittie last edited by

          Thanks Benoit!

          I'm wanting to keep the clean urls, so would you say 301s are the best way to combat this? As well as deleting all of the ".html" references within my website? Even though it would throw up errors within Dreamweaver etc?

          2MSens 1 Reply Last reply Reply Quote 0
          • 2MSens
            2MSens @Whittie last edited by

            Hi,

            Yes, 301s is the best way to get search engine forget about your past URLs.

            .html are not good clean urls, so if you can, get rid of them 😉

            However, I cannot help you with Dreamweaver issues, I don't use it... Hope someone can help you with it.

            Best,

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

              Thanks for your answer on this,

              I think this will be the right road to go down.

              Alex

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • HTTP vs HTTPS duplication where HTTPS is non-existing
                Joe_Stoffel
                Joe_Stoffel
                0
                2
                75

              • CNAME record for WWW to Non-WWW Vs. 301?
                0
                2
                430

              • YOAST Premium extensions vs Yoast SEO Free?
                BlueprintMarketing
                BlueprintMarketing
                0
                4
                8.2k

              • Subdomains vs. Subfolders vs. New Site
                max.favilli
                max.favilli
                0
                2
                101

              • Links to www vs non-www
                toddmatthewca
                toddmatthewca
                0
                7
                387

              • Anchor Text Diversification – Branded VS Non Branded – What is the best approach… if any?
                dhidalgo1
                dhidalgo1
                0
                3
                450

              • How to redirect www vs. non-www in IIS
                AlanMosley
                AlanMosley
                0
                5
                2.2k

              • WWW vs Non-WWW/Moving a site to a new CMS/Redirect all of the previous URLs
                KeriMorgret
                KeriMorgret
                0
                5
                934

              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