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. Web Design
    4. Shortened URL is breaking when URL is in Upper Case

    Shortened URL is breaking when URL is in Upper Case

    Web Design
    2 2 265
    • 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.
    • BCaudill
      BCaudill last edited by

      Hi there,

      Currently I'm having some troubling mitigating an odd occurrence with some redirected shortened URLs being in upper case.

      Here is how they should be behaving -

      www.rhinosec.com/webapp -> https://rhinosecuritylabs.com/landing/sample-report-webapp-pentest/
      www.rhinosec.com/network -> https://rhinosecuritylabs.com/landing/sample-report-network-pentest/
      www.rhinosec.com/se -> https://rhinosecuritylabs.com/landing/social-engineering-example-report/

      but when the /______ is capitalized - for example - WEBAPP, NETWORK, SE; WordPress either gives me a 404 or guesses the pages and lands on:

      NETWORK = https://rhinosecuritylabs.com/assessment-services/network-penetration-testing/ 
      SE = https://rhinosecuritylabs.com/assessment-services/secure-code-review/ 
      WEBAPP = 404

      I was wondering if this discrepancy should be taken care of in the Htaccess file, Cloudflare, or WordPress redirect plug-in?

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

        Hi Benjamin,

        Although there is a possibility that your WordPress redirect plugin is causing this issue, it would be hard to tell without having access to the CMS. Often times a plugin will have a box that's checked somewhere that might cause something weird to occur. However, I doubt this is the case.

        To answer your question, I would do this in the htaccess file although I would be cautious and test it first. Here is a write-up with someone who had a similar issues (he goes into details about his solution).

        Hope that helps!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Second Store URL
          Rillik
          Rillik
          0
          3
          86

        • Looking to remove SSL because it is causing very slow website download speeds. Does WP have a plugin that redirects SSL urls to non SSL urls?
          RosemaryB
          RosemaryB
          0
          3
          389

        • URL Structure
          DonnaDuncan
          DonnaDuncan
          0
          3
          99

        • Is it ok to redirect an old URL to new URL with anchor tag?
          KristinaKledzik
          KristinaKledzik
          0
          6
          1.1k

        • Magento URL Structure
          SEOAndy
          SEOAndy
          0
          3
          1.8k

        • Canonical url with pagination
          Worship_Digital
          Worship_Digital
          0
          10
          10.8k

        • Two URLs with same content
          mozalbin
          mozalbin
          0
          3
          730

        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