# 414 URI Too Long: when URLs exceed server limits

> 414 URI Too Long means the requested URL is longer than the server will process, often because of redirect loops or runaway parameters.

URL: https://yes-seo.com/http-status-codes/414

**414 URI Too Long** means the requested URL is longer than the server is willing to process. Real visitors almost never type such URLs; software produces them, through runaway query strings, endless filter combinations or redirect loops that keep appending parameters.

## Definition

[RFC 9110, section 15.5.15](https://www.rfc-editor.org/rfc/rfc9110#section-15.5.15) lists the usual causes: a client turning a POST into a GET with a huge query string, a client stuck in a redirect loop where each hop makes the URL longer, or an attack. Section 4.1 of the same RFC recommends that software support URLs of at least 8,000 octets. A 414 is cacheable by default.

## Server limits

- **Nginx** returns 414 when the request line doesn’t fit in `large_client_header_buffers` (4 × 8 KB by default). Its page says “414 Request-URI Too Large.”

- **Apache** uses `LimitRequestLine`, 8190 bytes by default.

- CDNs, load balancers and browsers have their own caps.

## SEO impact

A URL that returns 414 can’t be indexed; to Google it’s just another 4xx. The bigger problem is upstream: if your site generates near-infinite parameter URLs, crawlers waste [crawl budget](https://yes-seo.com/glossary/crawl-budget) on them long before any reach the limit. Common culprits:

- Faceted navigation that adds every selected filter as another parameter.

- Tracking or session parameters appended to every internal link.

- Redirect rules that add `?lang=en` (or similar) again on each hop, creating a loop that grows until it fails.

## How to fix it

- Trace the URL with the [redirect checker](https://yes-seo.com/redirect-checker); if each hop is longer than the last, fix the rewrite rule causing the loop.

- Send large search or filter forms with POST, or store the state server-side and pass a short ID.

- Keep internal links on clean, short URLs and point parameter variants at the main version with a [canonical tag](https://yes-seo.com/glossary/canonical-tag).

- Raise the server limit only if a legitimate feature needs it.

```
# Nginx
large_client_header_buffers 4 16k;

# Apache
LimitRequestLine 16384
```

## Example response

```
GET /shop?color=red&color=red&color=red&color=red... HTTP/1.1
Host: www.example.com

HTTP/1.1 414 Request-URI Too Large
Server: nginx
Content-Type: text/html
```

A list of affected URLs can go straight into the [HTTP status checker](https://yes-seo.com/http-status-checker) to confirm the fix.

## Frequently asked questions

### What is the maximum URL length?

There is no single limit. RFC 9110 recommends supporting at least 8,000 octets, and common servers default to about 8 KB for the request line. Keep real URLs far shorter than that.

### Do long URLs hurt SEO?

Length alone isn’t the issue, but endless parameter combinations waste crawl budget and create duplicate content. Short, descriptive URLs are also easier for people to read and share.

### Why does my URL keep growing until it returns 414?

Usually a redirect rule appends a parameter or path segment on every hop, creating a loop. Trace it with a redirect checker and fix the rule so it only redirects when needed.

