I have custom post types setup such that the items don’t have or need single-post pages. The posts will be displayed via a custom query on a page.

My question is when i create a single post (on the custom post type), how do i redirect the preview link so it previews the page and not the single-post?

the only way i can think of is make the single-[posttype].php template identical in template and query with the archive page i made, but that just seems wonky.

Read more here: Redirect preview single post link to a page


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , ,

Wordpress related questions and answers: