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. Should me URLs be uppercase or lowercase

    Should me URLs be uppercase or lowercase

    Technical SEO Issues
    9 7 11.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.
    • JustinStupid
      JustinStupid last edited by

      I'm in the middle of doing a bunch of 301 redirects for me site. Should I make them Lowercase, uppercase, or does it matter? Also, do I want to be using hyphens (-), or underscores (_)?

      Any other tips?

      EX:

      http://www.stupid.com/golf-slippers.html

      OR

      http://www.stupid.com/Golf-Slippers.html

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

        Justin

        I personally prefer lowercase because to me it looks better.  And I prefer hyphens for the same reason, and it seems like these days everyone from WordPress right to the SEOmoz site does it that way.

        -Dan

        1 Reply Last reply Reply Quote 3
        • john4math
          john4math last edited by

          I like lowercase because when I type URLs by hand, I don't think to capitalize things.  If you capitalize things, you have to get the casing right to make the URL valid (unless you're setting up all sorts of fancy redirects), otherwise you a 404 and are left scratching your head.  Also, I agree with Dan that it looks better.

          Hyphens vs. underscores is a classic question; Matt Cutts says to go with hyphens: http://www.youtube.com/watch?v=Q3SFVfDIS5k.  I like that better too.

          sprynewmedia Darden 2 Replies Last reply Reply Quote 3
          • sprynewmedia
            sprynewmedia @john4math last edited by

            The fact a Caps create a 404 error on LAMP site is a pet peeve of mine - so is the fact Google thinks mix cases on IIS are separate (thus duplicate) URLs.

            Too arbitrary to be picky about and cause user frustration.

            Thanks goodness at lease DoMaInS can be what ever.

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

              I agree. Lowercase in the example above. For ease of direct typing.

              But when advertising just a website URL in print offline, caps. www.BulwarkPestControl.com is easier to read than www.bulwarkpestcontrol.com.

              ezclickmedia 1 Reply Last reply Reply Quote 2
              • ezclickmedia
                ezclickmedia @Thos003 last edited by

                I agree with this completely. Lowercase with hyphens is my preference. Some E-commerce  companies (let's use Volusion as an example), give you the choice to use hyphens or underscores in a product's URL. This is nice and they even offer you the ability to write what the URL will be under the "Short TItle" option. However, this "Short Title" option is what will show in your URL AND the link text for a "Related Product" listing on the site. So if I want the link text to look normal when someone sees a Related Product link, I have to capitalize the text I put for the "Short Title" which will then cause the URL to be in Caps as well. This is a pretty significant flaw in their system and I have alerted them to the problem numerous times. Hopefully they will get it fixed soon.

                Thos003 1 Reply Last reply Reply Quote 0
                • Thos003
                  Thos003 @ezclickmedia last edited by

                  Is the Short Title a redirect or the actual URL? If it's a redirect then it shouldn't be a problem. You can also use canonical if you want to use the lowercase and host the other page. But that's is a sloppy solution.

                  1 Reply Last reply Reply Quote 0
                  • Darden
                    Darden @john4math last edited by

                    John and Team,

                    Suppose I have a site with 8000 pages and a small percentage of them in google analytics are showing up twice because the pages are linked through upper and lowercase links.  So in Google analytics (GA) there would be two rows:

                    http:///www.blah.com/MBA

                    http://www.blah.com/mba

                    Is there a type of query I can run in GA to allow me to find all pages where the url is the same except for the upper and lower casing?  I want to go into GA at Standard Reporting -> Content -> all pages and do an advanced search.

                    john4math 1 Reply Last reply Reply Quote 0
                    • john4math
                      john4math @Darden last edited by

                      Are you serving the same page for both /MBA and /mba?  You should set up a 301 redirect from one to the other.

                      In Analytics, you can set a custom filter to make your URLs case insensitive, but I don't believe that'll fix the data currently in your account, it'll only fix them going forward.  That process is outlined here: http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=90397.

                      My URLs are all lowercased so I can't actually find an example in my account to test, but when I do an advenced filter and select Include Page with the match type of "Matching RegExp" and try URLs with uppercase characters, Analytics appears to be making the query case insensitive.  So you can try that as well.

                      If the prior paragraph didn't work for you, you can do this on a URL by URL basis, by doing an advanced search by regular expression and substituting in "[M|m][B|b][A|a]" for "mba".

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • What to do with existing URL when replatforming and new URL is the same?
                        GPainter
                        GPainter
                        0
                        4
                        37

                      • Adding a parameter to the URL / URL Stracture
                        Roman-Delcarmen
                        Roman-Delcarmen
                        0
                        2
                        58

                      • Absolute URL or Relative URL in my sitemap?
                        brianvest
                        brianvest
                        0
                        3
                        9.6k

                      • URL Change, Old URLs Still In Index
                        ShawnW
                        ShawnW
                        0
                        3
                        118

                      • Updating content on URL or new URL
                        RuudHeijnen
                        RuudHeijnen
                        0
                        7
                        273

                      • How to find original URLS after Hosting Company added canonical URLs, URL rewrites and duplicate content.
                        Nobody1560986989723
                        Nobody1560986989723
                        0
                        2
                        366

                      • Crawl reveals hundreds of urls with multiple urls in the url string
                        irvingw
                        irvingw
                        0
                        5
                        455

                      • Directory URL structure last / in the url
                        DavidS-282061
                        DavidS-282061
                        0
                        6
                        1.4k

                      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