Salta la navigazione

Etichettato: 

Questo ticket contiene 0 risposta, ha 1 voce.

Ultimo aggiornamento da gabrielS-32 8 mese, 3 settimana fa.

Assistito da: Nicolas V..

Autore Messaggi
Settembre 5, 2024 a 2:27 pm

gabrielS-32

Background of the issue:
We have a multisite setup per country, with each country having its own set of languages. We are using a setting where even the default language appears in the site URL. For example, the URL for the USA site looks like: link nascosto for English and link nascosto for Spanish. When I open the sitemap by URL link nascosto, I see that the post and pages sitemaps are leading to a 404 page. The URLs there do not contain the language code. When I manually change the sitemap URLs in the browser to contain the language code, it works well. Here is the link to a page where the issue can be seen: link nascosto

Symptoms:
The post and pages sitemaps are leading to a 404 page because the URLs do not contain the language code. Instead of link nascosto, the URL is link nascosto, which leads to a 404 page.

Questions:
Why are the sitemap URLs not including the language code?
How can I ensure that the sitemap URLs include the language code?

Settembre 5, 2024 a 3:10 pm