Title: Login / Register redirect
Last modified: August 21, 2016

---

# Login / Register redirect

 *  [banoncom](https://wordpress.org/support/users/banoncom/)
 * (@banoncom)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/login-register-redirect/)
 * Hi, I am trying to set up a redirect for users that need to register. At the 
   moment when a user want to claim a listing they have to login and the login redirect
   takes them to the listing to claim. However if the user does not have an account(
   which would be in most cases) they have to register. The register page logs them
   in once username and password is set. How can I get the login redirect which 
   appears in the URL of the login page to transfer acroos to the register page 
   when the user clicks the register link?

Viewing 1 replies (of 1 total)

 *  [gerald@WPcustoms](https://wordpress.org/support/users/geeman12030/)
 * (@geeman12030)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/login-register-redirect/#post-4724764)
 * you can do that with a conditional tag in your theme:
    [is_user_logged_in](http://codex.wordpress.org/is_user_logged_in)
 * consider wp_redirect or different content in your template.

Viewing 1 replies (of 1 total)

The topic ‘Login / Register redirect’ is closed to new replies.

## Tags

 * [get](https://wordpress.org/support/topic-tag/get/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [register](https://wordpress.org/support/topic-tag/register/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [gerald@WPcustoms](https://wordpress.org/support/users/geeman12030/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/login-register-redirect/#post-4724764)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
