Anonymous Restricted Content


This plugin is as simple as you expected!
And it support latest WordPress Gutenberg editor now!

Just mark the content you want to hide from anonymous (not logged-in) users as restricted – and it’s done!

In case anonymous user will try to get access to restricted page, post or category – he will be redirected to WordPress Login page first.
Or you can specify the exact URL (internal or external) in plugin Settings to redirect anonymous users to.

After successful authorization, user is redirected back to the requested URL.

Starting version 1.2.0 it also hide restricted posts from Archive and Categories pages, RSS feed and in Latest Comments/Posts widgets!


  • Restrict access to any post for not logged-in users.
  • Hide any page from public acces.
  • Anonymous restricted category option.
  • Not logged-in users are redirected to Login screen in case of trying access restricted content.


  1. Upload anonymous-restricted-content folder into the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. All done, you can start using it!


How to hide post/page from public access?

Go to post/page edit screen in WP Admin, and switch ON checkbox for “Restricted for not logged-in users”. You can find it in right sidebar, inside “Publish” box.

What about categories?

You can also hide whole posts category from public access (including all its posts). To do it – go to category editing screen in WP Admin, and turn ON “Anonymous Restricted” checkbox.

All restricted options are reset after plugin re-install. What’s going on?

We strictly care about your database size, and clean up all the data created by this plugin during its lifetime when plugin is uninstalled


May 22, 2019
Nice lightweight plugin that lets you restrict access for not-logged in user to single posts and pages + the possibility to protect entire categories with one click. I use it as a complement to the plugin WP User Frontend Pro. Works fine together with Divi and WordPress 5.
March 4, 2019
Works great. No complicated settings. Simple but effective. Would be nice if there was a possibilty to add some text above the login screen.
June 25, 2018
This plugin does exactly what I needed it to do and saved me a lot of time trying to hobble a number of other things together to achieve the same result.
Read all 3 reviews

Contributors & Developers

“Anonymous Restricted Content” is open source software. The following people have contributed to this plugin.




  • Added Redirect URL option to Settings page


  • WordPress 5.2 Compatible
  • Restricted posts hidden in archive
  • Restricted posts hidden in Latest Posts widget
  • Comments to restricted posts hidden in Latest Comments Widget
  • Restricted posts hidden in Rss Feed


  • Minor fixes related to Gutenberg editor


  • Gutenberg compatibility


  • WordPress 5.0 compatibility


  • Added Restricted categories
  • More efficient restricted options processing
  • Prepared plugin to be uploaded to storage


  • First version of plugin with just basic functions