Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Uppercase and lowercase URLs both resolve: how to fix it

SEO-056Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

In a web address, the domain name is not case sensitive, but the path (the part after the domain) can be. Servers decide how to treat it. Many Linux servers treat /About-Us and /about-us as different paths. Many CMS platforms, though, ignore case and serve the same page for both.

Why it costs you leads or sales

Duplicate URLs split signals. Links, shares and clicks may point at different versions of one page, so no single version collects them all. Search engines may also spend crawl time on copies and may pick a version you did not want to show in results.

There is a reporting cost too. Analytics lists /Pricing and /pricing as separate pages, so page-level numbers and conversion paths get split. Campaign reports become harder to read and compare.

How case variants split one page
  1. Link to /PricingUsed in an old email or partner site
  2. Server returns 200No redirect to lowercase
  3. Indexed as a duplicateTwo URLs compete for one page
  4. Split reportingPage stats divided across variants

One landing page, two URLs, split signals.

Page views split across case variantsExample numbers
Page views split across case variants (example)/pricing: 780 views; /Pricing: 220 views0299598780220/pricing/Pricingviews

Example: 1,000 monthly views of one page spread across two URL versions in analytics.

How to check if your site has it

Test your key pages for case duplicates
  1. Pick important pages

    Choose your home page, pricing, contact and top landing pages.

  2. Change the case in the browser

    Type the URL with a capital letter, for example /Pricing instead of /pricing. See whether the page loads and whether the address bar changes back to lowercase.

  3. Check the status code

    Run curl -I on the uppercase URL, or use your browser's developer tools (Network tab). A 200 means the duplicate exists. A 301 to lowercase is the fix in place.

  4. Check the canonical tag

    View the page source of the uppercase version and look for rel=canonical. It should point to the lowercase URL.

  5. Look for uppercase URLs in reports

    In Google Search Console, open Pages or Performance and filter by URLs containing capital letters. In analytics, search page paths for uppercase characters. Also crawl the site with a crawler such as Screaming Frog and look at its URL case filters.

Compare both versions from the command linebash
curl -sI https://example.com/pricing | head -n 1
curl -sI https://example.com/Pricing | head -n 1
# Fixed: the second command shows 301 and a Location header with the lowercase URL
curl -sI https://example.com/Pricing | grep -i '^location'

How to fix it

The fix has three parts: choose lowercase as the standard, 301 redirect any uppercase request to its lowercase twin, and make sure canonical tags, sitemaps and internal links all use lowercase.

Redirect uppercase URLs to lowercase
  1. Check permalink and slug case

    WordPress slugs are normally lowercase. Edit any page or post whose slug contains capitals under the permalink field.

  2. Add a server rule

    On Apache or Nginx, use the rules in the Custom code tab. A redirect or SEO plugin may offer a lowercase redirect option; check your plugin's settings, as this varies.

  3. Update internal links

    Search your content and menus (Appearance > Menus) for uppercase links and change them to lowercase.

Apache (virtual host config): 301 uppercase paths to lowercasehtaccess
RewriteEngine On
RewriteMap lc int:tolower
RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule (.*) ${lc:$1} [R=301,L]
Nginx (with the Lua module): 301 uppercase paths to lowercasenginx
location ~ [A-Z] {
    rewrite_by_lua_block {
        local lower = string.lower(ngx.var.uri)
        if lower ~= ngx.var.uri then
            local args = ngx.var.is_args .. (ngx.var.args or "")
            return ngx.redirect(lower .. args, 301)
        end
    }
}
Finish the clean-up
  1. Set canonical tags to lowercase

    Every page should have a self-referencing rel=canonical pointing to its lowercase URL.

  2. Update the XML sitemap

    List only lowercase URLs.

  3. Fix internal links

    Change menus, buttons and in-content links that use capitals. Redirects work, but direct links are cleaner and faster.

  4. Fix external links you control

    Update email templates, ad final URLs, social profiles and partner pages to lowercase.

How to confirm it's fixed

Uppercase URL behaviour

Before

  • /Pricing returns 200
  • /pricing returns 200
  • Canonical may point to either version
  • Analytics shows both paths

After

  • /Pricing returns 301 to /pricing
  • /pricing returns 200
  • Canonical always points to lowercase
  • Analytics shows one path
Confirmation checks
  • curl -I on an uppercase URL shows a 301 (not a 302) to the lowercase URL
  • The redirect goes in one hop, with no chain
  • Query strings such as utm_source and gclid survive the redirect
  • The lowercase page has a self-referencing canonical
  • The sitemap contains no uppercase URLs
  • A crawl finds no internal links with capitals

How to prevent it happening again

Prevention habits
  • Agree a rule: all URLs are lowercase, with hyphens between words
  • Create slugs in lowercase when publishing new pages
  • Use lowercase in every ad final URL and email link
  • Run a site crawl after migrations or redesigns and filter for uppercase URLs
  • Keep the server redirect rule in your deployment config so it is not lost
  • Review the Pages report in Google Search Console for duplicate or alternate URLs

How FunnelGuard handles this

FunnelGuard does not check for uppercase and lowercase URL duplicates today. It is a possible future check.

What FunnelGuard does cover nearby: it runs your real customer journeys, such as lead forms, checkouts and booking buttons, on a schedule. It checks each step and the tracking hits sent to platforms like GA4 and Google Ads. If a redirect or broken page stops a journey, or campaign parameters get lost along the way, that failure is re-checked from a second region and you get one alert with a screenshot and a likely cause. That does not tell you that two case variants of a URL exist.

Questions people ask

Are URLs case sensitive for Google?

The domain name is not case sensitive, but the path after it can be. Google treats /Pricing and /pricing as different URLs, so if both return the same content it can see duplicates. Use one lowercase version and redirect the rest.

Why do both /Page and /page load on my website?

Your server or CMS is ignoring case when it matches the path, so both requests return the page with a 200 status. Nothing is telling browsers or search engines that one is preferred. Add a 301 redirect to lowercase and a matching canonical tag.

How do I redirect uppercase URLs to lowercase?

Add a server rule that sends any path containing capital letters to its lowercase version with a 301 status. On Apache use RewriteMap with int:tolower in the server config, on Nginx use a Lua or similar rule, and on hosted builders use the built-in redirect manager for known URLs. Keep the query string unchanged.

Does uppercase in a URL hurt SEO?

It rarely hurts by itself. The risk is that uppercase and lowercase versions both resolve and get linked, which splits signals and creates duplicates. Making lowercase the single version avoids that.

Should I use a canonical tag or a 301 redirect for case duplicates?

Use both. A 301 redirect sends visitors and crawlers to the lowercase URL, and a self-referencing canonical tag on that page confirms it. A canonical alone leaves the uppercase URL loading as a separate page.

Will a lowercase redirect break my UTM parameters?

Not if the rule only changes the path. Make sure the redirect keeps the query string untouched, because values like utm_campaign or gclid can be case sensitive. Test with a tagged uppercase URL and check the Location header.

How do I find uppercase URLs on my site?

Crawl the site with a tool like Screaming Frog and filter for URLs with uppercase characters. You can also search page paths in analytics and Google Search Console for capital letters. Then test each one with curl -I to see if it returns 200 or redirects.

Does FunnelGuard detect uppercase and lowercase URL duplicates?

No. FunnelGuard does not check for this yet, though it is a possible future check. It monitors journeys, tracking hits and lead delivery, so use a crawler and Search Console for case duplicates.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.