Questo thread è stato risolto. Ecco una descrizione del problema e della soluzione.
Problema: Il cliente ha riscontrato un problema con Google Search Console che segnalava una pagina come duplicata, con Google che sceglieva una pagina canonica diversa da quella specificata dall'utente. Nonostante non ci fossero articoli tradotti in inglese, l'URL in questione risultava online e considerato come contenuto duplicato da Google. Soluzione: Per risolvere il problema, abbiamo consigliato al cliente di modificare le impostazioni di traduzione in WPML. Ecco i passaggi da seguire: 1. Andare in WPML > Impostazioni. 2. Scorrere fino alla sezione "Traduzione dei tipi di post". 3. Per i 'Post' e le 'Pagine', selezionare "Traducibile - mostra solo gli elementi tradotti". 4. Salvare le modifiche. Dopo aver effettuato questa modifica, i post o le pagine predefiniti non verranno visualizzati in altre lingue e non si riceveranno più avvisi nella Google Search Console.
Se la soluzione proposta non dovesse essere più attuale o non applicabile al tuo caso, ti invitiamo a controllare i problemi noti e a verificare la versione della correzione permanente, confermando di aver installato le ultime versioni di temi e plugin. Se il problema persiste, ti raccomandiamo di aprire un nuovo ticket di supporto nel forum di supporto WPML.
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.
Salve, Search Console, per l'articolo: link nascosto
segnala il problema: Pagina duplicata, Google ha scelto una pagina canonica diversa da quella specificata dall'utente
In realtà questo articolo non esiste, perché non traduciamo in EN gli articoli, ma solo le pagine, e neanche tutte.
Infatti selezionando in WordPress la lingua inglese e andando in articoli, ci sono zero articoli, come si vede nell'immagine allegata "Cattura articoli EN inesistenti.PNG".
Però l'URL è online: link nascosto
E quindi Google lo considera Contenuto duplicato e ha selezionato come canonico la versione IT: link nascosto
Allego anche la segnalazione di Search Console
Potete risolvere il problema e dirmi come evitare che si creino questi duplicati? Vorremo che per impostazione gli articoli non vengano tradotti.
Perché ora non esistendo in wordpress la versione inglese dell'articolo, non è possibile neanche entrarci e impostare che l'url canonico è la versione IT
To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or want to continue the conversation in Italian. I'll check and forward the ticket to one of our Italian-speaking supporters to assist you further in the Italian language.
I understand the issue you're having. While checking the WPML Debug Information, I found that the translation preference for the 'Posts' and 'Pages' is set to "Translatable - use translation if available or fallback to default language". It means, even if you don't translate the post or page, the default post or page will appear in English language. This is why, the default post appears in the English language and Google flags that post.
To solve this, here's what you need to do:
- Please go to WPML > Settings and scroll to the "Post Type Translation" section
- For the 'Posts' and 'Pages', select "Translatable - only show translated items" and save the changes
After making this change, the default posts or pages will not be displayed in other languages, and you will also not encounter any warnings in the Google Search Console.
Feel free to let me know if you need further assistance in this matter. I will be happy to help.
Hi Prosenjit, thanks for the reply. We have made the change you recommended, but now the message "No Result found" appears on the English homepage, in the news section. Is it possible to make the articles appear in Italian (with the Italian URL) in the English version of the site ? Thank you
It is expected to see the "No Result Found" on the English homepage, as you haven't translated the Posts into English yet. If you want to see the default posts with the URL on the English page, that will not be possible at the moment.
If you set the Translation Preference for the Post to "Translatable - Use translation if available or fallback to default language" in "WPML > Settings > Post Type Translation", you'll see the default posts but the secondary language code will be appended to the URL. You may encounter the warning from the Google search console again by making this adjustment.
Therefore, it would be beneficial to begin translating the content into the secondary language. This will ensure that the content is displayed correctly and prevent any issues from arising in the Search console.
Let me know if there is anything else you need help with. I will be happy to assist.
Thanks for your reply Prosenjit. For now I will remove the articles section from the English homepage. I ask you for your opinion on another problem: inside the wpml plugin folders there are large files (app.js). I attach screenshots. It's normal? Or is there a way to fix the problem? Thanks again
I nuovi thread creati da Prosenjit Barman e collegati a questo sono elencati di seguito:
Hi There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.
Thank you for understanding. Indeed, temporarily removing the Blog section from the English homepage until the posts are translated into English seems like a wise choice.
I appreciate your patience and am ready to assist with your next question. However, please note that our policy is to focus on one issue per ticket to ensure clarity in our communication. Since the query in your last message differs from the original issue reported in this ticket, I've opened a new ticket to address it. You can expect a response on that ticket shortly. Thank you for your understanding.
Please feel free to let me know if you need any other assistance with the issue that you initially reported in this ticket. I will be happy to help. If not, please consider marking this thread as resolved.