# How to return users to the page they came from after login?

**URL:** <https://meta.discourse.org/t/how-to-return-users-to-the-page-they-came-from-after-login/65139>\
**Category:** WordPress\
**Created:** [26 Junho , 2017 18:37 UTC](https://meta.discourse.org/t/how-to-return-users-to-the-page-they-came-from-after-login/65139 "2017-06-26T18:37:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Andy02](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy02/32/119498_2.png) [@Andy02](https://meta.discourse.org/u/Andy02)\
**Post date:** [26 Junho , 2017 18:37 UTC](https://meta.discourse.org/t/how-to-return-users-to-the-page-they-came-from-after-login/65139/1 "2017-06-26T18:37:37Z")

</div>

i can’t work out how to send users back to where they came from after registering/logging in. this might be a thread on discourse, or a page on wordpress.

i can set a page, but not just send them back to whichever page they decided to hit the login button on. is it possible? any suggestions?

---

_[View the full topic](https://meta.discourse.org/t/how-to-return-users-to-the-page-they-came-from-after-login/65139)._
