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. URL rewriting with "-" or with a space ?

    URL rewriting with "-" or with a space ?

    Intermediate & Advanced SEO
    10 4 1.2k
    • 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.
    • nipponx
      nipponx last edited by

      Hi

      Which url should i use for my web site ? and why ?

      1 : http://www.test.com/how-are-you.html

      2 : http://www.test.com/how are you.html

      thanks

      1 Reply Last reply Reply Quote 0
      • Dan-Petrovic
        Dan-Petrovic last edited by

        For best results use: how-are-you.html

        Spaces turn out to be how%20are%20you.html

        nipponx 1 Reply Last reply Reply Quote 2
        • firstconversion
          firstconversion last edited by

          If your rewriting, chop off the .html bits for style

          nipponx 1 Reply Last reply Reply Quote 1
          • nipponx
            nipponx @Dan-Petrovic last edited by

            hi dejan,

            well, in firefox i get "how are you.html" in the url

            i mean is it bad for SEO ?

            Dan-Petrovic KeriMorgret 4 Replies Last reply Reply Quote 0
            • nipponx
              nipponx @firstconversion last edited by

              hi stephen,

              .html is bad for SEO ?

              Dan-Petrovic 1 Reply Last reply Reply Quote 0
              • Dan-Petrovic
                Dan-Petrovic @nipponx last edited by

                Not really, though it does extend your URL a fraction which has a minimal impact but also makes your URLs longer and less aesthetic (and shareable).

                1 Reply Last reply Reply Quote 0
                • Dan-Petrovic
                  Dan-Petrovic @nipponx last edited by

                  SEO advantages and disadvantages are minuscule. If you are already going through trouble of rewriting URLs make them nice and neat with hyphens. Google also recommends to use them as separators so you cannot go wrong.

                  1 Reply Last reply Reply Quote 0
                  • Dan-Petrovic
                    Dan-Petrovic @nipponx last edited by

                    .

                    1 Reply Last reply Reply Quote 0
                    • KeriMorgret
                      KeriMorgret @nipponx last edited by

                      If you try to share "http://www.test.com/how are you.html" in an email or online, it's not going to automatically hyperlink the entire URL, it'll likely break off at the /how part.

                      I second using hyphens as separators. They present a clean look, and don't break or get translated with weird characters by various systems.

                      1 Reply Last reply Reply Quote 2
                      • Dan-Petrovic
                        Dan-Petrovic @nipponx last edited by

                        Good point.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Nofollow "print" URLs?
                          Daft.ie
                          Daft.ie
                          0
                          5
                          210

                        • Is there a tool to find out if a URL has been deemed "SPAM" by GOOGLE
                          GPainter
                          GPainter
                          0
                          3
                          282

                        • Received "Googlebot found an extremely high number of URLs on your site:" but most of the example URLs are noindexed.
                          nicole.healthline
                          nicole.healthline
                          0
                          3
                          139

                        • Change of URLs: "little by little" VS "all at once"
                          Kuantokusta
                          Kuantokusta
                          0
                          9
                          148

                        • Meta name="canonical" content="uRL" usage instead of link rel
                          Ideas-Money-Art
                          Ideas-Money-Art
                          0
                          10
                          4.7k

                        • Canonical URL's - Do they need to be on the "pointed at" page?
                          AlanMosley
                          AlanMosley
                          0
                          17
                          1.2k

                        • Posing QU's on Google Variables "aclk", "gclid" "cd", "/aclk" "/search", "/url" etc
                          0
                          1
                          2.3k

                        • Questions regarding Google's "improved url handling parameters"
                          john4math
                          john4math
                          0
                          2
                          668

                        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