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. Technical SEO Issues
    4. Hyphens and underscores vs hyphens and double hyphens

    Hyphens and underscores vs hyphens and double hyphens

    Technical SEO Issues
    4 2 71
    • 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.
    • iShopOnline
      iShopOnline last edited by

      Hello. I am thinking of changing the hyphens to underscores. The problem is that i have a magento extension for improved navigation and if you choose to use hyphens for special characters it will not let you choose this also for separating attributes. It will allow you only bouble hyphen.

      So when i go to sub-category  https://www.shoponline.gr/peripoihsh/somatos/kremes-somatos/ and filter two brands (victoria's secret and frais monde) it returns the url https://www.ishoponline.gr/peripoihsh/somatos/kremes-somatos/victoria-s-secret--frais-monde instead of the iniital url with undescore which was https://www.ishoponline.gr/peripoihsh/somatos/kremes-somatos/victoria_s_secret-frais_monde. So it is "victoria-s-secret--frais-monde" vs "victoria_s_secret-frais_monde".

      Any suggestions? Thank you in advance.

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

        Hello fotios,

        Google officially stated that uses hyphens and prioritize them. I'd advise you against making that change. Please don't.

        There isn't more to say about it.

        Best luck.

        GR

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

          Thank you for responding. Although by mistake, my question was the other way around. I now have underscores and intend to go to hyphens. My hesitation is about double quote. So you would advice to go from "victoria_s_secret-frais_monde" to "victoria-s-secret--frais-monde" with making 301 redirections? Some of the urls might have some juice. Thank you.

          GastonRiera 1 Reply Last reply Reply Quote 0
          • GastonRiera
            GastonRiera @iShopOnline last edited by

            Yes, do that. All hyphens and 301 from the underscored.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Optimizing PDF Viewers for SEO: Issuu vs Flippingbook vs Dual Option
              iugac
              iugac
              0
              2
              352

            • What is the risk of changing underscores to hyphens in URLs that are ranking
              OlegKorneitchouk
              OlegKorneitchouk
              0
              3
              1.1k

            • vs.
              NickJasuja
              NickJasuja
              0
              4
              3.5k

            • Hyphenating a Domain Name - What would you do?
              DonnaDuncan
              DonnaDuncan
              0
              3
              121

            • Google Webmaster tools Sitemap submitted vs indexed vs Index Status
              K-WINTER
              K-WINTER
              0
              5
              20.5k

            • Picking a URL co.uk vs .net vs .biz which is best for SEO?
              Brian-H
              Brian-H
              0
              3
              746

            • Hyphen in URL
              KeriMorgret
              KeriMorgret
              0
              7
              711

            • 404 vs. 200?
              AdamThompson
              AdamThompson
              0
              5
              1.3k

            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