Skip to content Skip to sidebar

This topic contains 0 replies, has 0 voices.

Last updated by peterJ-48 3 weeks ago.

Assisted by: Noman.

Author Posts
November 26, 2025 at 2:21 pm #17612310

peterJ-48

Background of the issue:
Hi,

I want to block the My account page, Basket (cart page) and Check out page etc. in robots.txt from being crawled by search engines.

We have 20 languages and slugs are translated.

My questions is: Is it true that it is possible to use wildcard even when slugs are translated? According to ChatGpt using wildcard is possible and better (safer), however I cannot find this specifically being described in your documentation.

Exampel with Basket page:

What is the correct and best way?

With wildcard like this:

# --- Block Cart, Basket ----
Disallow: /basket/
Disallow: /*/basket/

Or by listing the basket in all languages like this:

# --- Block Cart, Basket ----
Disallow: /basket/
Disallow: /bg/кошница/
Disallow: /hr/kosara/
Disallow: /cs/kosik/
Disallow: /da/kurv/
Disallow: /nl/mand/
Disallow: /fi/kori/
Disallow: /fr/corbeille/
Disallow: /de/korb/
Disallow: /el/καλάθι/
Disallow: /hu/kosar/
Disallow: /it/cestino/
Disallow: /no/kurv/
Disallow: /pl/kosz/
Disallow: /pt-pt/cesta/
Disallow: /ro/cos/
Disallow: /ru/корзина/
Disallow: /es/cesta/
Disallow: /sv/korg/
Disallow: /tr/sepet/

Symptoms:
I am not able to find a description in your documentation.

Questions:
Can I use wildcard even when slugs are translated?