code WordPress

Restricting Content to User Roles

Sometimes, content is aimed at certain people or user groups only. Sometimes it contains data you need to make sure it’s not spread all over our beautiful World Wide Web. And in some of these cases, the way to do it is not to just add a plugin and click a button. 😉

So my task was to not only hide content from plain sight but it should be accessible  to two user groups only.


Just read: URL rewriting for the fearful

Drew McLellan, lead developer at Perch, wrote a pretty good article about rewrite rules, redirects and some other .htaccess wizardry. Thanks so much!