URLs · URL structure

URL contains upper case characters

The address of this page contains capital letters. Paths are case sensitive, so a lower-case link would go somewhere else.

How this page is built

The address of this page is /tests/URL-Contains-Upper-Case-Characters/. Paths are case sensitive, so the same address in lower case is, strictly, a different URL. Depending on the server, it may return an error, redirect, or serve the same page as a duplicate. Here the lower-case version serves this page, and the canonical tag points back at the address above.

Why it matters

The path part of a URL is case sensitive, so /Page/ and /page/ are different addresses. If both return the same content, search engines see duplicates. If only one works, links with the other case are broken.

Mixed case also makes addresses harder to type and remember.

How to check it

Search a crawl export for addresses that contain capital letters. Request the lower-case version of a few of them to see whether they redirect, return the same page or return a 404.

How to fix it

Use lower case for every URL. If upper-case addresses already exist, 301 redirect them to their lower-case versions and update internal links.

Back to all tests