---
title: "URL contains uppercase characters"
description: "Google treats /Shop/ and /shop/ as two URLs. Why capitals in a path cause duplicates and how to fix them with 301 redirects."
url: https://ursy.com/wiki/url-contains-uppercase-characters/
updated: 2026-11-25T02:01:25+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/url-contains-uppercase-characters/
---

# URL contains uppercase characters

> Google treats /Shop/ and /shop/ as two URLs. Why capitals in a path cause duplicates and how to fix them with 301 redirects.

**“URL contains uppercase characters” is an audit warning that a page address has capital letters in its path or query, such as `/Garden-Tools/`, which can create two or more addresses for the same page because [Google](https://ursy.com/wiki/google/) treats upper and lower case paths as different URLs.** It is rarely an emergency. It becomes a real problem when your server answers both forms with the same page and your links use a mix.

## What does the warning mean? {#what-does-the-warning-mean}

A [URL](https://ursy.com/wiki/url/) has several parts. [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986), the standard for web addresses, says the scheme (https) and the host (www.example.co.uk) are not case-sensitive and should be written in lower case. It says the other parts, such as the path and the query, are treated as case-sensitive unless the scheme defines otherwise. So `EXAMPLE.co.uk` and `example.co.uk` are the same site, but `/Shop/` and `/shop/` may be 2 different pages.

The warning is about the path and query. Capitals in the [domain name](https://ursy.com/wiki/domain-name/) do no harm, because browsers and crawlers lower-case it.

## Why does it matter for search? {#why-does-it-matter-for-search}

Google’s [URL structure best practices](https://developers.google.com/search/docs/crawling-indexing/url-structure) say its URL handling is case-sensitive, so it treats `/APPLE` and `/apple` as separate URLs with their own content. It advises that if your web server treats upper and lower case the same, you should convert all text to one case.

What happens next depends on your server:

| Server behaviour | What a crawler sees | Risk |
| --- | --- | --- |
| Both forms show the same page | 2 addresses, same content | [Duplicate content](https://ursy.com/wiki/duplicate-content/), split [link equity](https://ursy.com/wiki/link-equity/), wasted [crawl budget](https://ursy.com/wiki/crawl-budget/) |
| Only one form works, the other gives 404 | Broken links wherever the wrong case was used | [Broken links](https://ursy.com/wiki/broken-link/) and lost visits |
| The wrong case redirects to the right one | 1 page, 1 extra hop | Low, if internal links use the right case |

In the first case, Google has to pick one version. Its page on [canonicalization](https://developers.google.com/search/docs/crawling-indexing/canonicalization) explains that it groups pages with the same main content and picks one as canonical. Your [canonical tag](https://ursy.com/wiki/canonical-tag/) is a hint, not an order. If you do not decide, Google decides for you.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

[AI crawlers](https://ursy.com/wiki/ai-crawler/) and agents follow the exact address in your links. If half your links say `/Tea-Pots/` and half say `/tea-pots/`, a [bot](https://ursy.com/wiki/bot-web-robot/) may fetch both, or [hit](https://ursy.com/wiki/hit-analytics/) a 404 on one. An AI answer that quotes your page also copies the link it found. Mixed case means some of those quoted links may break. One clean lower case address helps [AI crawlability](https://ursy.com/wiki/ai-crawlability/) and keeps each [citation](https://ursy.com/wiki/citation/) pointing at one live page.

## How does it happen? {#how-does-it-happen}

- A [CMS](https://ursy.com/wiki/content-management-system-cms/) or shop platform keeps the capitals from a product or category title when it makes the [slug](https://ursy.com/wiki/url-slug/).
- Someone types a link by hand, for example in a menu, a blog post or an email campaign.
- A [URL parameter](https://ursy.com/wiki/url-parameter/) such as `?Colour=Red` is written by one plugin and read as `?colour=red` by another.
- A site moves to a server that handles case differently, so links that used to work start to fail.

## How do I fix it? {#how-do-i-fix-it}

1. **Choose lower case**  as the one form. It is the convention and the easiest to type.
2. **Redirect the capitals.**  Add a permanent server-side [redirect](https://ursy.com/wiki/redirect/) from each capitalised address to its lower case twin. Google’s guide to [redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects) says a permanent server-side redirect is the best way to send both Google and people to the right page, and that 301 and 308 signal a permanent move. See [301 vs 302 redirect](https://ursy.com/wiki/301-vs-302-redirect/).
3. **Fix internal links**  so they point straight at the lower case form. Links to redirects add hops; see [internal links to redirected URLs](https://ursy.com/wiki/internal-links-to-redirected-urls/).
4. **Update the canonical tag and the [XML sitemap](https://ursy.com/wiki/xml-sitemap/)**  so both list the same lower case address.
5. **Test it.**  Request the old form and confirm one 301 to the new form, with no [redirect chain](https://ursy.com/wiki/redirect-chain/) or [redirect loop](https://ursy.com/wiki/redirect-loop/).

## Common mistakes {#common-mistakes}

- **Lower-casing the whole address.**  Do not change parts the server needs as they are, such as a case-sensitive file name or a token in a query string, unless you have checked they still work.
- **Lower-casing percent-encoding.**  RFC 3986 asks for upper case hex digits in encoded bytes, so `%C3%BC` is the tidy form. Leave those capitals alone.
- **Using 302 instead of 301.**  A temporary redirect is not treated as a canonical signal, so the capitalised URL may stay in results.
- **Changing slugs with no redirect.**  Old links and bookmarks then lead to a [404](https://ursy.com/wiki/404-and-410/).

## A worked example {#a-worked-example}

A UK garden shop has a category at `/Garden-Tools/`. Its server shows the same page at `/garden-tools/`. The newsletter links to the capital form, the menu to the lower case form. An audit flags 140 URLs with capitals.

The shop sets a rule that sends any path with capitals to its lower case form with a 301. It updates the menu, footer and newsletter template. It checks that the canonical tag and the sitemap now list `/garden-tools/` only. A week later, [URL inspection](https://ursy.com/wiki/url-inspection/) in [Google Search Console](https://ursy.com/wiki/google-search-console/) shows the lower case page as the Google-selected canonical.

## How to check it {#how-to-check-it}

1. Run our free [SEO audit](https://ursy.com/seo-audit/) to list addresses with capital letters.
2. Use our free [redirect checker](https://ursy.com/redirect-checker/) on the capitalised form to see whether it redirects, and with which status code.
3. Run our free [canonical checker](https://ursy.com/canonical-checker/) to confirm the page declares the lower case address.
4. Check the list in your sitemap with our free [sitemap checker](https://ursy.com/sitemap-checker/).
5. Our free [text case converter](https://ursy.com/webmaster-tools/text-case-converter/), [URL slug optimiser](https://ursy.com/webmaster-tools/url-slug-optimiser/) and [redirect generator](https://ursy.com/webmaster-tools/redirect-generator/) help you build the fix. In URSY Pro, our [redirect monitor](https://ursy.com/pro/redirect-monitor/) and [links to redirects fixer](https://ursy.com/pro/links-to-redirects-fixer/) watch it over time (Pro).

## Questions {#questions}

### Is a capital letter in a URL bad for rankings? {#is-a-capital-letter-in-a-url-bad-for-rankings}

Not by itself. Google simply treats it as a different address. Trouble starts when 2 forms show the same page or one form breaks.

### My server is case-insensitive. Am I safe? {#my-server-is-case-insensitive-am-i-safe}

No. That is the case Google warns about. Both forms load, so both can be crawled as separate URLs. Pick one and redirect the other.

### Should I fix capitals in old pages that rank well? {#should-i-fix-capitals-in-old-pages-that-rank-well}

Yes, with a 301 and updated links. The redirect passes visitors and signals to the new address. Change them in one go, not bit by bit.

## Related words {#related-words}

- [SEO-friendly URL](https://ursy.com/wiki/seo-friendly-url/)
- [URL slug](https://ursy.com/wiki/url-slug/)
- [Canonical tag](https://ursy.com/wiki/canonical-tag/)
- [Duplicate without canonical](https://ursy.com/wiki/duplicate-without-canonical/)
- [Trailing slash](https://ursy.com/wiki/trailing-slash/)

## Sources {#sources}

- [Google Search Central: URL structure best practices for Google Search](https://developers.google.com/search/docs/crawling-indexing/url-structure), checked 25 November 2026
- [RFC 3986: Uniform Resource Identifier (URI): Generic Syntax](https://www.rfc-editor.org/rfc/rfc3986), checked 25 November 2026
- [Google Search Central: What is canonicalization](https://developers.google.com/search/docs/crawling-indexing/canonicalization), checked 25 November 2026
- [Google Search Central: Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects), checked 25 November 2026

*Updated 25 November 2026 by URSY.*
