Redirect Single Post CPT (Custom Post Type) to a specific URL
Sometimes this would be achievable with add_rewrite_url but it looks like in this case it’s not as you need to redirect to a different domain. In this case you need .htaccess or nginx rules to do this, so you need to add something like this to your nginx config for domain.com only, in order to … Read more