and like us on FB

If you have a member-based website and don’t want to provide access to the back end, the following filter will redirect users upon login to the front page.

Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.

The next function will redirect a user upon requesting an admin page.

Shortt URL for this post: http://shor.tt/Dya