Passer au contenu Passer à la barre latérale

Ce sujet contient 0 réponses, a 0 voix.

Dernière mise à jour par peterJ-48 Il y a 2 semaines et 2 jours.

Assisté par: Noman.

Auteur Messages
Novembre 26, 2025 à 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?