Conflicting custom post type archive slug and page slug in Wordpress

Generally, if there is a Custom Post Type with the same slug as one of the Pages, the Custom Post Type archive should take precedence and WordPress should display that instead of the Page.

If that is not the case for you and WordPress is displaying the Page instead, you probably haven’t flushed your permalinks.

However, if you actually need the Page to take precedence, there are two options:

  1. Disable the archive for your Custom Post Type
  2. Change the Custom Post Type rewrite slug
Indrek Kõnnussaar

I'm a veteran Wordpress developer, context-driven tester, security enthusiast and the mastermind behind Codelight. I love building stuff that works and fixing stuff that doesn't.

Write me directly [email protected]
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×