Vai al contenuto Vai alla barra laterale

Questo ticket contiene 0 risposta, ha 0 voci.

Ultimo aggiornamento da nathanB-9 3 mese, 2 settimana fa.

Assistito da: Maiya AI Support.

Autore Post
Novembre 18, 2025 alle 3:56 #17586380

nathanB-9

Background of the issue:
I am developing a site with a custom post type (CPT) 'credit-card' and have set up URLs for two languages, EN and FR, using WPML. The English URL structure is working as intended with a rewrite rule and a post_type_link hook. I want the URL structure to include a post meta value 'bank-name' before 'card-name'.

Symptoms:
The French version of the URL is not working and redirects to a 404 page. I suspect WPML might be overriding the FR URL.

Questions:
Why is the French URL redirecting to a 404 page despite having a separate rewrite rule?
Is WPML overriding the French URL in some way?

L'argomento '[Chiuso] Adding a post meta value in my url' è chiuso a nuove risposte.