Free auditStart free
GuideError · HTTP status codes

506 Variant Also Negotiates

A 506 is a server misconfiguration in content negotiation. See the Apache type map that triggers it, a curl repro, and the flat type map that fixes it.

4 min
read
6
sources
Nov 1, 2026
updated
Scaplet Editorial Team
author
The short answer

A 506 Variant Also Negotiates means the server has an internal configuration error: the variant it chose for a request is itself set up for content negotiation, so it cannot be the end of the negotiation. On Apache the usual cause is a type map that points at another type map. List every variant in one map, or point each variant at a plain file.

  1. What the 506 status means
  2. Reproduce it on Apache and read the response
  3. Fix it
  4. What a 506 does to SEO
30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode

At a glance

4 facts from the sources below
RFC 2295 (Experimental), section 8.1
Defined in
5xx server error
Class
The server configuration, never the visitor
Who causes it
HTTP_VARIANT_ALSO_VARIES
Apache constant
01Explained

What the 506 status means

RFC 2295 (Transparent Content Negotiation in HTTP, an Experimental RFC) defines it: the 506 status code indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process. MDN describes the cause as server misconfiguration that results in circular references when creating responses.

Content negotiation means one URL with several variants (languages, formats). In server-driven negotiation the server picks a variant from request headers such as Accept-Language. In agent-driven negotiation the client and server choose together. MDN notes that agent-driven negotiation is rarely used, and that server-driven negotiation, where the server picks from request headers, is far more common.

On Apache the 506 comes from mod_negotiation, which defines it as HTTP_VARIANT_ALSO_VARIES. Nothing on the visitor's side causes it, so the fix is always in the server's variant files or type maps.

02Fix it on your stack

Reproduce it on Apache and read the response

This setup was run on Apache 2.4.62 on 2026-11-01. page.var is a type map whose French variant is itself another type map, page.fr.var.
httpd.conf (relevant lines)
AddHandler type-map .var
AddLanguage en .en
AddLanguage fr .fr
<Directory "/var/www/html">
    Options MultiViews
</Directory>
page.var: the broken map (a variant that is a type map)
URI: page.en
Content-type: text/html
Content-language: en

URI: page.fr.var
Content-type: text/html
Content-language: fr
Ask for each language and print the status line
for l in en fr de; do
  printf "%s -> " "$l"
  curl -s -i -H "Accept-Language: $l" http://127.0.0.1/page.var | head -1
done

# en -> HTTP/1.1 200 OK
# fr -> HTTP/1.1 506 Variant Also Negotiates
# de -> HTTP/1.1 406 Not Acceptable
What each request got in the test
Accept-Language sentVariant Apache choseStatus
enpage.en, a plain file200 OK
frpage.fr.var, a nested type map506 Variant Also Negotiates
deNone listed for German406 Not Acceptable

Only the request that selects the nested map fails. Apache's source comments explain why: when a transparent type map selects another type map as the best variant, it returns HTTP_VARIANT_ALSO_VARIES, because recursive type maps produce a recursive arrangement of negotiated resources that the negotiation protocols do not support. The generated error page says the variant "is itself a negotiable resource" and "indicates a configuration error".

03How it works

Fix it

  1. 1

    Find the nested map

    Open the type map the request resolves to and look for URI: lines that end in .var or point at a MultiViews resource.

  2. 2

    Flatten it

    List each language or format as a direct file in the first map, as above. In the same test, the flat map answered 200 for en, fr and de.

  3. 3

    Retest every variant

    Run the for loop above for each Accept-Language and Accept combination your site serves, and confirm none returns 506.

  4. 4

    Check the error log

    Raise LogLevel for mod_negotiation while you test (for example LogLevel info negotiation:debug) if a variant still fails.

page.var: the fixed map, every variant listed once with a plain file
URI: page.en
Content-type: text/html
Content-language: en

URI: page.fr.html
Content-type: text/html
Content-language: fr

URI: page.de.html
Content-type: text/html
Content-language: de
Use one flat type map if
  • You list variants by hand and want each URL to resolve to one file.
  • You need `Content-language` or `Content-type` set per file.
  • You want negotiation without the filename rules of MultiViews.
Use MultiViews if
  • Your files follow `name.lang.ext` naming and you want Apache to find variants itself.
  • You do not need per-variant quality values (`qs`) in a hand-written map.
  • You can enable `Options MultiViews` for that directory.
04Explained

What a 506 does to SEO

A 506 is a 5xx. Google's guide covers 5xx as a class: 5xx and 429 errors prompt crawlers to temporarily slow down, indexed URLs are preserved but eventually dropped, and content from a 5xx response is ignored. If your site negotiates on Accept-Language, a crawler's request headers can select a different variant than your browser does. Test each variant with curl and the headers it would send. For crawl-level effects see 5xx server errors, and for neighbouring server errors 500 and 501.
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What does 506 Variant Also Negotiates mean?

The server is misconfigured: the variant it picked for the request is itself configured to do transparent content negotiation, so it cannot be the end point of the negotiation. RFC 2295 defines it as an internal configuration error.

02Can I fix a 506 as a visitor?

No. It is a server configuration error. A different language setting in the browser may select a different variant, but the site owner has to fix the configuration.

03Why does the 506 only happen for some languages?

Only the request that selects the faulty variant fails. In an Apache 2.4.62 test, a type map with a nested type map returned 200 for English and 506 for French, because the French variant was the nested map.

04Does nginx send 506?

This page documents the Apache cause. nginx's documentation does not describe a 506 case, so check the response body and the Server header to see what produced it before changing configuration.

Sources · 6

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • rfc-editor.org
  • mozilla.org
  • apache.org
  • github.com
  • google.com
  1. 01RFC 2295: Transparent Content Negotiation in HTTPrfc-editor.org · checked 2026-11-01
  2. 02MDN: 506 Variant Also Negotiatesdeveloper.mozilla.org · checked 2026-11-01
  3. 03Apache httpd: Content Negotiationhttpd.apache.org · checked 2026-11-01
  4. 04Apache httpd: mod_negotiationhttpd.apache.org · checked 2026-11-01
  5. 05Apache httpd source: modules/mappers/mod_negotiation.cgithub.com · checked 2026-11-01
  6. 06How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-11-01
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane