- This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by .
- The topic ‘Redirect non-logged in users’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Sometimes a plugin doesn't really work best to redirect people, or to send users to a temporary landing page. In order to temporarily send visitors that are not logged in to a landing page, try this:
wp_redirect( 'http://www.google.com', 302 );
Awesome stuff Jon. This is the type of thing (as well as Sozo's Isotope post) that is going to make this community forum rock! 🙂
© 2022 WPEngine, Inc.