#StackBounty: #custom-post-types #multisite #single Redirect Single Post from CPT to a specific URL

Bounty: 50

I have a domain.com and subdomain materials.domain.com

At the domain.com scope I created a custom post type called resources and a portfolio grid (using elementor) to display the resource’s feature image with title.

When click on the grid item the "single" post is showed (domain.com/resources/resource-title).

I’d like to remove the "single" post from the domain and redirect on click to materials.domain.com/resource-title (i’m already have this page on subdomain). How can I achieve that?

Get this bounty!!!

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.