/

Site Access Restriction (SAR) - Access Denied redirect


Setting up the Access Denied redirect

Back to User Guides

When content on your site is not available to a certain user, be it because they are not logged in or because they're logged in but of a certain user role that does not have permission to view the content they need to be redirected to a page informing them of this.


Creating the Access denied Redirect page

The Access Denied page is one which you must create yourself manually. Create a new page and add whatever graphics or text you would like to appear to inform visitors that they do not have access to the content.With the Access Denied page created and published copy the URL for the front-end view of the page.

Now navigate to CM Site Access Restriction Pro → Settings → General.

In the field labeled Access Denied page URL paste the link that you copied to clipboard for the Access Denied page.

Scroll to the bottom of the form and click Save to save the changes.


Now the visitor will be redirected to the Access Denied page if they have not been granted access to a Page, Post or any other content on your site that has been restricted.

If you would prefer to require users to log in to view content then check out the Login Redirect Help article.


Get more information about the CM Site and Content Restriction WordPress Plugin

Find other WordPress products at the CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

Visit our support center to open a Support Ticket