This Pro tutorial provides the steps to redirect single post pages to a specific URL/location like the site's homepage if the user viewing the page is not the one set as the value of a custom field for that post.
For a service titled say, "SEO" this custom field's value has been set to "John Smith".
When example.com/service/seo/ is viewed by anyone but John Smith, we shall redirect them to the homepage.
We are also going to cover the case where the custom field can contain multiple users.
This is a BricksLabs Pro tutorial.
For full access login below or create your BricksLabs Pro account