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?