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. On-Page / Site Optimization
    4. Replacing "_" with "-" in url, results in new url?

    Replacing "_" with "-" in url, results in new url?

    On-Page / Site Optimization
    8 7 21.0k
    • 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.
    • gerardoH
      gerardoH last edited by

      We ran SEOmoz's "On-Page Optimization" tool on a url which contains the character "_".

      According to the tool:


      "Characters which are less commonly used in URLs may cause problems with accessibility, interpretation and ranking in search engines. It is considered a best practice to stick to standard URL structures to avoid potential problems."

      "Rewrite the URL to contain only standard characters."


      Therefore we will rewrite the url, replacing "_" with "-".

      Will search engines consider the "-" url a different one? Do we need to 301 the old url to the new one?

      Thanks for your help!

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

        Well this is an easy one.

        _Will search engines consider the "-" url a different one? _Yes.

        Do we need to 301 the old url to the new one? Yes.

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

          As stated before, the answer is Yes. Should you do it ? I would answer no.

          You should do it for new content, but do move all you're content to other URL and 301 just for this. This would no do too much good.

          gerardoH 1 Reply Last reply Reply Quote 3
          • gerardoH
            gerardoH @Catalyste last edited by

            FYI, based on the information provided by the SEOmoz tool we will revamp the page (tags, look, content), therefore it'll be a "new page".

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

              Yes it will. Had to re-write a few items myself and any little change will make a new URL.

              301 it is best.

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

                To throw in my 2 cents, the benefit in rewriting the URL (and making a 301) comes from Google's ability to then clearly recognize the keywords that you're using within it (assuming that you're synching your on page KWs). Google views hot_keyword_landing_page.html as hotkeywordlandingpage.html -  Matt Cutts on underscores vs. dashes in URLs. The downside is having to keep the 301 in place if the page has IBLs.

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

                  Why not use rel canonical? I would prefer that to a 301 (my 2nd choice)

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

                    One reason to change all URLs from _ to - is conformity.

                    If you have some that are _ and some that are -

                    the question is how will you remember which one to use, for a particular page?

                    For that reason, I would convert them all.

                    As for using a canonical tag, I don't know, you'd need to know what google and otehr search engines do with that information, if anything. I would also worry about what they will do with it in the future, because these things are liable to change.

                    If it was me, I would change them all and redirect the stragglers.

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    • A "show all" category for products resulting in to many on-page links
                      danielpett
                      danielpett
                      0
                      3
                      206

                    • Difference between "And" and(!) "-"
                      rrad
                      rrad
                      0
                      3
                      246

                    • Encouraging users to "like" or "+1" our pages
                      cbielich
                      cbielich
                      0
                      6
                      411

                    • Does Google pick up on words such as "in", "the", "and" etc?
                      Dr-Pete
                      Dr-Pete
                      0
                      4
                      577

                    • "Canonical URL Tag Usage" recommendation in SEOmoz "On-Page Optimization" Tool
                      Kotkov
                      Kotkov
                      0
                      2
                      503

                    • Does having a "+" in a URL hurt SEO? Would much value be gained changing it to a hyphen?
                      SL_SEM
                      SL_SEM
                      0
                      3
                      3.7k

                    • Should I include a "|" for better page title SEO results?
                      Entrusteddev
                      Entrusteddev
                      0
                      13
                      10.0k

                    • Does it matter if a rel = "canonical" element is added to the beginning or the end of a URL?
                      Luke22
                      Luke22
                      0
                      4
                      974

                    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