Title: Redirect to permalink clicked
Last modified: August 30, 2016

---

# Redirect to permalink clicked

 *  [geraldocrca](https://wordpress.org/support/users/geraldocrca/)
 * (@geraldocrca)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/redirect-to-permalink-clicked/)
 * Hello,
    For navigation in my site is need create a user in page xxxx.com/login
   When he make de cadastre, is redirect to my homepage.
 * I want when is make the cadastre, the user need go to a permalink of link that
   have clicked.
 * If the user clicked in a building, he make redirect to single page of this building.
 * Now, my code is:
 * else{ wp_redirect(home_url()); exit;}
 * How make this?
 * Thanks

The topic ‘Redirect to permalink clicked’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [geraldocrca](https://wordpress.org/support/users/geraldocrca/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/redirect-to-permalink-clicked/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
