Ja genau, das dürfte aber das Problem sein. WPML möchte folgendes:
1) "Hauptdomain" = example.com (engl)
2) "Zweitdomain" = example.de (deutsch)
Auf example.com liegt die ganze Webseite ohne dass da irgednwas Besonderes wäre. auf example.de wird eine deutsche Kopie ausgegeben. Diese Kopie hat keine eigene Datenbank und keinen eigenen Webspace sondern wird über DNS-Einstellungen erzeugt. Wie das Plugin die Übersetzungen auf der .de-Seite augibt, lasse ich jetzt mal aus. Wichtig ist, dass unter beiden Domains grundsätzlich die selbe Webseite läuft.
Da sagt Ionos - genau wie threadi: "Moment, das geht nicht, mit DNS kann ich nur definieren wo die Domain hinzeigt." Jetzt ist aber WPML nicht "irgenein" Heini, der sich mal was Nettes ausgedacht hat, das nicht funktioniert, sondern (neben Polylang) der größte Hersteller am Markt der Übersetzungsplugins. D. h. es muss also doch irgendwie funktionieren. Aber wie?
WPML schreibt:
Next, you need to make all your domains (or sub-domains) point to your WPML-powered site.
This is something that the company that sold you the domain should do for you.
Here is what you need to ask your hosting company:
- When using separate domains: I want to add a parked domain (alias) to my existing domain. My existing domain is “example.com”. I want to park the “example.de” domain.
- When using sub-domains: I want to add the “de.example.com” subdomain to my “example.com” subdomain. It should point to the same location as the main domain.
Next, you need to make all your domains (or sub-domains) point to your WPML-powered site. This is something that the company that sold you the domain should do for you.
Here is what you need to ask your hosting company:
- When using separate domains: I want to add a parked domain (alias) to my existing domain. My existing domain is “example.com”. I want to park the “example.de” domain.
- When using sub-domains: I want to add the “de.example.com” subdomain to my “example.com” subdomain. It should point to the same location as the main domain.
Also ich werde da nicht schlau aus dieser sehr oberflächlichen Beschreibung und der Support bei Ionos auch nicht. Daher die Frage, ob das schon mal jemand gemacht hat und sagen kann, wie es geht. Es kann ja nicht soooo kompliziert sein.