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. All Caps in URL

    All Caps in URL

    On-Page / Site Optimization
    5 3 1.7k
    • 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.
    • interactivek
      interactivek last edited by

      Hello, we're working with a corporate client to make changes to their URL structure. We recommended that they use a structure like "domain.com/state/city/location". Their IT department is on board, but they just mentioned that all of the state and city info will be pulled from a database where it is all caps.

      So it would be like this "domain.com/STATE/CITY/location"

      I'm concerned that it may be spammy, but I can't find any definitive information online. We usually like to test issues like this on our own sites before advising clients, but we're working up against a quick deadline.

      Any help with this issue would be great, especially real world experience, not just theories. Thank you.

      1 Reply Last reply Reply Quote 0
      • krissy-cca
        krissy-cca last edited by

        You can use a rewrite rule to change all the upper case letters to lower case. This should solve your problem before they are indexed and will do away with the need to 301 every upper case URL to a lower case one.

        DD

        interactivek 1 Reply Last reply Reply Quote 1
        • interactivek
          interactivek @krissy-cca last edited by

          Thanks Damien, that's a good technical solution. Unfortunately, we don't control the site and in order to recommend a technical change, I would need some rationale as to why an upper case URL is not good from an SEO standpoint (I can think of a few non-seo reasons they should not do this). Any ideas on that?

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

            Its no Spammy, but in the long term, people will link to you using the lowercase URLs and u may risk a duplicate content issue.

            If you have full access to Apache configuration,

            RewriteEngine On
            RewriteMap  lc int:tolower
            RewriteCond %{REQUEST_URI} [A-Z]
            RewriteRule (.*) ${lc:$1} [R=301,L]
            

            (you need to define RewriteMap in HTTPD config so you can call it out from htaccess)

            interactivek 1 Reply Last reply Reply Quote 1
            • interactivek
              interactivek @wissamdandan last edited by

              Thanks for the quick replies guys!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Is it better to shorten my existing url to use only keyword after domain with a 301 redirect from existing url
                mrkingsley
                mrkingsley
                2
                12
                96

              • Making Shopify URL's Simpler - Losing the words 'collection', 'product' and 'page' in a Shopify store URL. Any advice?
                0
                1
                171

              • Short URL's vs Optimised URL's
                MozAddict
                MozAddict
                0
                3
                68

              • Url structure
                GetApp
                GetApp
                0
                5
                97

              • Should I rewrite all my URLs ?
                XNUMERIK
                XNUMERIK
                0
                2
                221

              • Recommendation: Add a canonical URL tag referencing this URL to the header of the page.
                ThompsonPaul
                ThompsonPaul
                0
                7
                1.5k

              • Keyword in URL?
                Johnnyh
                Johnnyh
                0
                6
                311

              • What's better now? A super-short URL structure or a slightly longer, more descriptive URL structure?
                seowebjunction
                seowebjunction
                0
                4
                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