Resolve a custom post type name vs. page permalink conflict (same slug)

Question

I have a custom post type called “visningshus”, and also a Page with that slug. This is as it should (must) be.

Currently, “http://my-site.com/visningshus” lists all posts of that type. I want to show the page that has that permalink slug instead.

How can I make WordPress not make the post type name take precedence, but instead the permalink, and show the Page?

0
, , Henrik Erlandsson 4 years 2020-02-07T08:40:07-05:00 0 Answers 103 views 0

Leave an answer

Browse
Browse