Vai al contenuto Vai alla barra laterale

Questo è il forum di assistenza tecnica di WPML, il plug-in multilingue di WordPress.

La sua lettura è permessa a tutti, ma la pubblicazione è riservata esclusivamente ai clienti di WPML. Il team di WPML risponde sul forum 6 giorni su 7, 22 ore su 24.

Etichettato: 

Questo ticket contiene 4 risposte, ha 0 voci.

Ultimo aggiornamento da Paola Mendiburu 2 settimana, 2 giorno fa.

Assistito da: Paola Mendiburu.

Autore Post
Aprile 28, 2026 alle 18:02 #18000806

Alessandro

I'm contacting you because we're having some issues with language management on the WordPress platform for the site I'm reporting in question
Specifically, each language has its own "alias" domain (for example, for the EN version the associated domain is link nascosto for French link nascosto and so on.. ), but the Worpress platform has been configured on the main domain link nascosto, so the default language is Italian.

I'll list the other problems we've encountered since we published the site:
- from the frontend when you switch the language from the menu (burger menu in the top right), you can visit the translations but you cannot then return to the default language which in our case is Italian;
- from backend, when I select the language of the content to edit, the url is not updated based on the language chosen, for example if I am in the EN version and need to make changes in the French version, I use the menu at the top of the WordPress toolbar to change the language to FR, I see the contents in French but at the top there remains the URL massenzarigs.com rather than link nascosto (see screen "screen-1.jpg" in the attachment )
- always from the backend (referring to the previous point), using the language change option from the top WordPress menu, in addition to not displaying the URL of the chosen language, not all translations always display correctly. For example, if I am in the English version of the site I change to French, after which I move to the "Articles" section I select the "Edit" option of an article, at the bottom right the Categories are not displayed in French but in English (even though the categories have been translated into all languages), If I then select the category anyway, obviously the English one is then assigned to the article which is translated into French (this applies to all languages - see screen "screen-2.jpg" in the attachment ).

In summary, the problem seems that WPML cannot handle languages with "alias" domains. Can you help us solve these problems?

Thanks.

Aprile 29, 2026 alle 7:59 #18001768

Paola Mendiburu
Sostenitore di WPML dal 11/2020

Lingue: Inglese (English ) Spagnolo (Español ) Italiano (Italiano )

Fuso orario: Europe/Madrid (GMT+02:00)

Ciao!

Sono Paola, spero vada tutto bene!

Potresti verificare se nel file wp-config.php hai del codice simile a questo?

define('WP_HOME', '<em><u>link nascosto</u></em>' . $_SERVER['HTTP_HOST'] . '/');
define('WP_SITEURL', '<em><u>link nascosto</u></em>' . $_SERVER['HTTP_HOST'] . '/');

Questo tipo di configurazione può interferire con la gestione dei domini diversi per lingua in WPML.

Se lo trovi, prova temporaneamente a commentarlo o rimuoverlo, svuota la cache e verifica se il problema persiste.

Aprile 29, 2026 alle 10:55 #18002448

Alessandro

Buongiorno Paola,

eliminando le due righe di codice che mi hai segnalato, ho risolto il primo punto.
Quindi confermo che dal front-end riesco tranquillamente a visualizzare tutte le lingue e poi a ritornare alla lingua di default.

Purtroppo però non vale lo stesso per le altre due segnalazioni che ti ho illustrato.

Hai altre soluzioni a riguardo?

Grazie.

Aprile 29, 2026 alle 12:05 #18002771

Paola Mendiburu
Sostenitore di WPML dal 11/2020

Lingue: Inglese (English ) Spagnolo (Español ) Italiano (Italiano )

Fuso orario: Europe/Madrid (GMT+02:00)

Vorrei richiedere un accesso temporaneo (wp-admin e FTP) al vostro sito per esaminare meglio il problema. Troverai i campi necessari sotto l'area commenti quando accedi per lasciare la tua prossima risposta. Le informazioni che inserirai sono private, il che significa che solo tu e io possiamo vederle e accedervi.

Politica sulla privacy e sulla sicurezza

Abbiamo politiche rigorose in materia di privacy e accesso alle tue informazioni. Perfavore guarda:
https://wpml.org/purchase/support-policy/privacy-and-security-when-provviding-debug-information-for-support/

**IMPORTANTE**

- Si prega di effettuare un backup dei file e del database del sito prima di fornirci l'accesso.

- Se non vedi i campi wp-admin/FTP significa che i dettagli di accesso al tuo post e al tuo sito web verranno resi PUBBLICI. NON pubblicare i dettagli del tuo sito web a meno che non vedi i campi wp-admin/FTP richiesti. Se non lo fai, chiedimi di abilitare la casella privata.

La casella privata è simile a questa: link nascosto
ente temporaneo, così potremo eliminarlo dopo aver chiuso la segnalazione.

Aprile 30, 2026 alle 17:36 #18006653

Paola Mendiburu
Sostenitore di WPML dal 11/2020

Lingue: Inglese (English ) Spagnolo (Español ) Italiano (Italiano )

Fuso orario: Europe/Madrid (GMT+02:00)

Per me funziona tutto correttamente. Ho registrato un breve video per mostrarti il comportamento:
link nascosto

Anche le categorie vengono visualizzate nella lingua corretta.