I have a list of events. I built a CPT “Evenements” for these Events.I included these CPT in my rss feed using the following function
add_filter( 'request', 'wpm_myfeed_request' ); function wpm_myfeed_request( $qv ) { if ( isset( $qv['feed'] ) && !isset( $qv['post_type'] ) ) { // Ici on choisit quels customs posts types seront présents dans le flux RSS $qv['post_type'] = array( 'post', 'Evenements' ); } return $qv; }So, My rss feed is made of a list of CPT.Each entries links to a page as
https://website.de/de/aktivitaeten/firmenbesichtigung/ Where “firmenbesichtigung » is the CPT title.
But I would like all RSS feed entries to link to the page https://website.de/de/aktivitaeten/
not the URL of the specific CPT (https://website.de/de/aktivitaeten/firmenbesichtigung/)
Do you have an idea about this?or How to have all RSS feed entries linking to the same specific page ?
Many many thanks for your help
Timama