How to set the mainpage of a custom post type?

I just created a new custom post type to contain all the individual posts of the event im hosting.

I want the slug for each post to be:

I already got a page with the url: which i want to be the mainpage of this particular slug. (On this page some other information about the event is already displayed and it will include links to the individual program items etc)

However, i got a conflict now that as soon as i created the custom post type, leads to the first post of the newly created post type instead of the already existing page that i was planning to use as the mainpage.

tldr; How do i prevent the url from going to the first post and instead go to the page i was planning to use for that? And have go to their own posts.

ps. I dont want to change the url to for example

Read more here: How to set the mainpage of a custom post type?

Leave a Reply

Your email address will not be published. Required fields are marked *