In short
Testing without cookies means viewing the site the way a crawler does: each page is requested with no cookie at all, no session and no memory of previous pages. The test covers each language: direct access to a deep page, switching language, navigation, essential forms. Once the task is done, every language version displays in its own language, with no redirect loop, no consent wall hiding the content, and no reliance on a cookie to switch language.
Why it matters
Google says so in its JavaScript documentation: its rendering service does not keep state from one page to the next, and HTTP cookies as well as local storage are cleared between page loads. Googlebot therefore arrives at each URL like a visitor who has never been there. Generative engine crawlers do not document how they handle cookies: assume they do not keep any either.
Yet many multilingual sites were built and tested by people who always have a language cookie, an open session and a recorded consent. The defects that only show up without cookies:
- remembered language: the page shows the cookie's language instead of the URL's, or reverts to the default language on every page;
- redirect loop: the site sets a cookie, then redirects to check that it is there; without a cookie, it redirects endlessly;
- form-based language switcher: the choice is stored in the session and does not work without a cookie;
- consent wall: the content is only loaded after cookies are accepted; the crawler only sees the banner;
- bot challenge: a firewall requires a validation cookie that crawlers do not present.
What it improves
- Indexing of each language Secondary versions stay accessible to stateless crawlers.
- Citations in AI answers The content is readable from the first request, with no consent and no session. Indirect effect, not guaranteed.
- Visitors People who refuse cookies, or who arrive from a shared link, see the right language.
- Reliability Cookie-related redirect loops and empty pages disappear.
- Compliance A site that works without non-essential cookies makes it easier to follow consent rules.
How to check
The quickest test: curl sends no cookie and keeps none by default. Request a deep page in each language, following redirects:
for url in https://example.com/fr/tarifs/ https://example.com/de/preise/ https://example.com/en/pricing/; do
printf '%-40s ' "$url"
curl -s -L --max-redirs 10 -o /tmp/page.html -w '%{http_code} %{num_redirects} redirects ' "$url"
grep -o -i '<html[^>]*lang="[^"]*"' /tmp/page.html | head -n 1
done
Expected result: 200, zero redirects, and the URL's language. An error message about the maximum number of redirects points to a loop. A redirect to another language, or a language different from the URL's, points to a dependency on the cookie or on the browser language.
To see the cookies set on the first visit:
curl -s -D - -o /dev/null https://example.com/de/preise/ | grep -i "^set-cookie"
A language cookie is not a problem in itself. It becomes one if the page changes language or content when the cookie is sent back: compare with serve the right content at the requested URL (opens in a new tab).
How to implement
Step 1 — Prepare a browser without cookies
Two methods, to be combined:
- Private browsing: it starts with no cookie, but keeps those set during the session. It simulates a first-time visitor, not a crawler.
- Blocking cookies for the site: in Chrome,
Settings > Privacy and security > Site settings, then the additional content settings and the on-device site data section (direct addresschrome://settings/content/siteData); add your domain to the list of sites not allowed to save data. In Firefox,Settings > Privacy & Security, Enhanced Tracking Protection in Custom mode, with all cookies blocked. Blocking also prevents local storage, as for Googlebot.
Open the developer tools, Application tab (Chrome) or Storage tab (Firefox): the site's cookies section must stay empty throughout the test.
Step 2 — Go through the journeys in each language
Test each language with the same grid. Example for German:
| Journey | Action | Expected result | Result without cookies |
|---|---|---|---|
| Direct access | Open /de/preise/ |
Page in German, 200 | Compliant |
| Navigation | Click three menu links | Pages in German | Compliant |
| Language switch | Choose "Français" in the switcher | Equivalent page in French | Goes back to /de/preise/ |
| Return | Switch back to German | German page | Compliant |
| Root | Open / |
Choice page or default language, no loop | Compliant |
| Content | Read the page without accepting the banner | Main text readable | Hidden by the banner |
| Essential form | Contact or search | Submission or results in the page's language | Compliant |
| 404 page | /de/inexistant/ |
404 in German | Compliant |
Each gap becomes a task, with the layer responsible: switcher, language middleware, consent plugin, firewall.
Step 3 — Crawl the site without cookies
Run Screaming Frog on the root or on each language's home page. In the crawl configuration, check the cookie storage setting, and choose not to keep cookies from one page to the next, like Googlebot. Then compare, per language:
- the number of URLs returning 200;
- the redirects (response codes tab, 3xx filter);
- the pages'
langattribute (language column or custom extraction).
A language whose pages all redirect to the default language depends on a cookie.
Step 4 — Check what Google sees
In Search Console, inspect a deep URL in each language, "Test live URL", then "View tested page". The screenshot must show the content in the URL's language, and the consent banner must not hide most of it. See test rendering in Search Console (opens in a new tab).
WordPress
Versions WordPress 6.8 to 7.1, with Polylang 3.x or WPML 4.8 and 4.9, WooCommerce 10 and 11.
- WPML and Polylang set a language cookie (
pll_languagefor Polylang), but the language comes from the URL when the format uses directories, subdomains or domains. Test the home page: browser language detection, if enabled, must not loop without a cookie. - Consent plugins: the page content must be in the HTML without consent; only non-essential third-party scripts and content wait for approval. Avoid "wall" modes that hide the whole page.
- WooCommerce: the cart and the account use a session; product and category pages must display without it.
- Page cache: test with an empty cache and a warm one; some plugins serve a different version to visitors who have a cookie.
Shopify
Versions Online Store 2.0 themes, all plans, November 2026.
Each language's pages are reachable by their URL without a cookie. The theme language switcher goes through a localization form that redirects to the URL of the chosen language: check that it works with cookies blocked, and add direct links to each language if needed (see provide a crawlable language switcher (opens in a new tab)). Also check consent and geolocation apps: a pop-up that requires a choice before showing the store blocks crawlers.
Laravel
Versions Laravel 11 to 13.
The language must never come from the session:
// To replace: without a session cookie, every request falls back to the default language
App::setLocale(session('locale', config('app.locale')));
Set it from the route parameter in a middleware, and turn the language switch into a plain link to the equivalent route, with no POST form and no CSRF token. Also check that no public page redirects to a "cookie check" page.
Next.js
Versions Next.js 15 and 16 (App Router and Pages Router).
The NEXT_LOCALE cookie is only used for routing at the root with the Pages Router: prefixed pages stay reachable without it. With the App Router, look for calls to cookies() in pages and layouts: a language read from a cookie disappears for a crawler. A client-side translation provider that reads localStorage has the same flaw.
Nuxt
Versions Nuxt 4 with the @nuxtjs/i18n 10 module.
With @nuxtjs/i18n, browser language detection sets the i18n_redirected cookie (default name) so as not to redirect twice. Without a cookie, the root redirect repeats on every visit, which is acceptable as long as it only targets / (redirectOn: 'root'). With the no_prefix strategy, the language depends on the cookie: switch to a prefixed strategy.
Cloudflare
Versions Cloudflare dashboard, all plans, November 2026.
- Workers and rules: look for conditions on
http.cookiein the rules and for reads of theCookieheader in Workers. None of them should change the language of a content page. - Security challenges: a challenge (Managed Challenge, JS Challenge) requires a validation cookie that crawlers do not present. Check that your custom rules and bot protection settings exempt verified bots, on every language version. See check CDN, WAF and anti-bot protection (opens in a new tab).
Netlify
Versions Netlify redirects (_redirects or netlify.toml), all plans, November 2026.
Language-based redirects (Language=) accept the nf_lang cookie to remember a choice. Without that cookie, only the language condition applies: check that it only targets the root, otherwise a visitor without a cookie is redirected on every page.
Common mistakes
- Testing with your usual browser: an already stored language cookie and consent hide every defect.
- Believing private browsing is enough: it keeps the cookies set during the session; a crawler does not.
- "Set cookie, redirect, check" loop: without a cookie, the loop never ends.
- Language switcher as a POST form with a session: unusable without a cookie, invisible to crawlers.
- Consent wall that hides all the content: the crawler only indexes the banner. See test before and after cookie consent (opens in a new tab).
- Untranslated consent banner: it shows in the default language on every version. See translate cookie banners (opens in a new tab).
Frequently asked questions
Does Googlebot accept cookies?
It can receive cookies while a page loads, but does not keep them: Google's documentation states that HTTP cookies, local storage and session storage are cleared between page loads. Each URL is therefore crawled as if by a new visitor. A language or content that depends on a cookie set on a previous page stays invisible to Google.
Does a cookie consent banner get in the way of indexing?
Not if it simply displays on top of a page whose content is in the HTML. It becomes a problem when the content is only loaded after acceptance, or when it covers the whole screen with no way to read the page: a crawler, which does not click, then only sees the banner. Only non-essential scripts and services should wait for consent.
Is a language cookie a problem for SEO?
No, as long as it only stores the visitor's choice, for example to route them at the site's root on their next visit. It becomes a problem when it changes the language or the content of a URL: crawlers, which do not have that cookie, then see only one language. Each page's language must be determined by its URL.
How do I block all cookies to test my site?
In Chrome, add your domain to the sites not allowed to save data, in the content settings (address chrome://settings/content/siteData). In Firefox, use Enhanced Tracking Protection in Custom mode with all cookies blocked. For a quick test, curl sends and keeps no cookies by default. Keep the developer tools' cookies tab open to confirm it.
Resources
- Google Search Central: Fix Search-related JavaScript problemsdevelopers.google.com
- Google Search Central: Managing multi-regional and multilingual sitesdevelopers.google.com
- Chrome Help: On-device site datasupport.google.com
- MDN: HTTP cookiesdeveloper.mozilla.org
- Nuxt i18n: Browser language detectioni18n.nuxtjs.org
- Next.js: NEXT_LOCALE cookie (Pages Router)nextjs.org
Updated on
Topic checklist (PDF)