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: myurl.co/conference/programitem
I already got a page with the url: myurl.co/conference/ 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, myurl.co/conference/ 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 myurl.co/conference/ url from going to the first post and instead go to the page i was planning to use for that? And have myurl.co/conference/programitem go to their own posts.
ps. I dont want to change the url to for example myurl.co/conference0/
Read more here: How to set the mainpage of a custom post type?