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. Spaces in URL line

    Spaces in URL line

    Intermediate & Advanced SEO
    4 4 215
    • 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.
    • BM7
      BM7 last edited by

      Hi Gurus,

      I recently made the mistake of putting a space into a URL line between two words that make up my primary key word. Think

      www.example.com/Jelly Donuts/mmmNice.php

      instead of

      www.example.com/JellyDonuts/mmmNice.php

      This mistake now needed fixing to www.example.com/Jelly Donuts/mmmNice.php to pass W3, but has been in place for a while but most articles/documents under 'Jelly Donuts' are not ranking well (which is probably the obvious outcome of the mistake).

      I am wondering whether the best solution from an SEO ranking viewpoint is to:

      1. Change the article directory immediately to www.example.com/JellyDonuts/mmmNice.php and rel=canonical each article to the new correct URL. Take out the 'trash' using robots.txt

      or to

      301 www.example.com/Jelly Donut to the www.example.com/JellyDonut directory?

      or perhaps something else?

      Thanks in advance for your help with this sticky (but tasty) conundrum,

      Brad

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

        Hi BM7,

        I would go with 301

        Some more  information for you -  http://www.seomoz.org/learn-seo/redirection

        Cheers

        Dmitriy

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

          I agree with Webdeal, go with the 301

          1 Reply Last reply Reply Quote 1
          • AU-SEO
            AU-SEO last edited by

            I would use a dash "-" Jelly-Donut and 301 to that page. Essentially only use a canonical when there is a direct reason for the similar content to be there like a dynamic database search and a "similar; SEO version. Or Pagination.

            Give the Jelly%20Donuts/mmmNice.php will no longer be needed and an exact duplicate of its new location a 301 is best here.

            -Phil

            1 Reply Last reply Reply Quote 3
            • 1 / 1
            • First post
              Last post
            • Universal URL versus Specific URL addresses
              RaynChris
              RaynChris
              0
              3
              120

            • We 410'ed URLs to decrease URLs submitted and increase crawl rate, but dynamically generated sub URLs from pagination are showing as 404s. Should we 410 these sub URLs?
              jeffchen
              jeffchen
              0
              3
              189

            • What is Google supposed to return when you submit an image URL into Fetch as Google? Is a few lines of readable text followed by lots of unreadable text normal?
              Autoboof
              Autoboof
              0
              4
              183

            • Should we use URL parameters or plain URL's=
              PinpointDesigns
              PinpointDesigns
              0
              5
              207

            • SEO Overly-Dynamic URL Website with thousands of URLs
              CleverPhD
              CleverPhD
              0
              4
              718

            • How important is it to canonicalize mobile URLs to desktop URLs?
              NakulGoyal
              NakulGoyal
              0
              3
              504

            • Is it safe to redirect multiple URLs to a single URL?
              AndreVanKets
              AndreVanKets
              1
              6
              4.9k

            • URL rewriting with "-" or with a space ?
              Dan-Petrovic
              Dan-Petrovic
              0
              10
              1.2k

            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