Salta la navigazione

Questo thread è stato risolto. Ecco una descrizione del problema e della soluzione.

Problem:
When attempting to access a link that should return a 404 error, instead of seeing a 404 page, you see a completely incorrect page. Specifically, you encounter an English page of the site with an incorrect permalink, which loads the content of an English category that should not be displayed.
Solution:
This issue might be caused by WordPress attempting to "guess" the URLs of the pages to redirect them. Alternatively, it could be due to an outdated version of WPML that is not compatible with WordPress 6.5 or newer. We recommend checking if you are using the latest version of WPML and WordPress. If the problem persists, it might be beneficial to review the settings related to URL guessing in WordPress.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend opening a new support ticket. Additionally, please check the related known issues and verify that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum.

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 1 risposta, ha 2 voci.

Ultimo aggiornamento da Laura 12 mese fa.

Assistito da: Laura.

Autore Messaggi
Maggio 15, 2024 a 2:25 pm #15631066

francescoE-2

Sto cercando di:
quando apro un link che dovrebbe restiture un 404 mi dà come risultato una pagina ma totalmente sbagliata
Link a una pagina si vede il problema:
link nascosto

Mi aspettavo di vedere:
una pagina 404

Invece ho visto:
la pagina inglese del sito ma con permalink sbagliato , in pratica mi carica il contenuto della categoria in inglese presente a questa pagina link nascosto ma ipoteticamente non dovrebbe farlo .

Maggio 15, 2024 a 4:09 pm #15631675

Laura
Sostenitore di WPML dal 05/2018

Lingue: Inglese (English ) Italiano (Italiano )

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

Salve,

grazie per averci contattato.

Si tratta probabilmente di WordPress che cerca di "indovinare" gli URL delle pagine per reindirizzare.
Oppure un problema dato da una versione vecchia di WPML che non è compatibile con WordPress 6.5+

Il link "sbagliato" però non appare da nessuna parte (anche dalle schede presenti in link nascosto) rimanda al link corretto quindi è improbabile che gli utenti possano raggiungerlo.