• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

How To Redirect Logged Out Users To The WP Login Page

This code redirects anyone how isn’t a logged in user to the absolute URL in the code.

In this case, all logged out users will be redirected to the the login page however this URL can be changed to any URL.

This code can be used to make your site into a membership site and require logged out users to register before being able to view your sites content.

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags