Wordpress redirect non-logged-in visitors


/ Published in: PHP
Save to your folder(s)

Place at the top of your header.php to redirect visitors who are not logged-in to the Wordpress admin. I use this to redirect to a simple HTML 'coming soon' page while sites are in development.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.