Zum Inhalt springen Zur Seitenleiste springen
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Supporter-Zeitzone: Europe/Madrid (GMT+02:00)

Dieses Thema enthält 0, hat 1 Stimme.

Zuletzt aktualisiert von ericS-63 Vor 4 Monaten, 4 Wochen.

Assistiert von: Paola Mendiburu.

Autor Beiträge
November 27, 2025 um 10:41 #17614507

ericS-63

Background of the issue:
I’m using WPML in domain mode with two domains: versteckter Link (English) and versteckter Link (Dutch). I’m also using Rank Math Pro to manage robots.txt. The problem is that Rank Math only outputs one global robots.txt file for all domains, even though WPML serves content per domain. My goal is to have a separate robots.txt per domain, so that versteckter Link and versteckter Link can contain different sitemap URLs. Google requires correct sitemap references per domain when I run separate Search Console properties.

Symptoms:
Rank Math only outputs one global robots.txt file for all domains, even though WPML serves content per domain.

Questions:
Is WPML able to serve different robots.txt outputs per domain in a single-site installation when using Rank Math Pro? And if so, how should this be implemented?
Does WPML route robots.txt requests through its language domain mapping?
Can WPML provide different hooks or filters so Rank Math can output a per-domain robots.txt?
If this is not supported, do you recommend using custom rewrite rules or a mu-plugin to control robots.txt per domain?
Any official guidance or best practices for handling robots.txt in a domain-per-language setup would be greatly appreciated.

Das Thema '[Geschlossen] Separate robots.txt per domain when using WPML (domain mode) and Rank Math Pro' ist für neue Antworten geschlossen.