Answer by M-R for Conditional custom redirect
It should not be tough. As you suggested you can use ACF to add a custom field in post/page and then use the template_redirect action hook to check if the current page's custom field is a valid URL as...
View ArticleConditional custom redirect
I want to achieve the following:On a post or a page, I can define an optional custom redirect URL (possibly as an Advanced Custom Field)If I view this post/page with a specific added URL parameter...
View Article