# Login not returning to discourse

**URL:** https://meta.discourse.org/t/login-not-returning-to-discourse/95914
**Category:** WordPress
**Created:** [8월 29, 2018, 1:07오후 UTC](https://meta.discourse.org/t/login-not-returning-to-discourse/95914 "2018-08-29T13:07:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![anon29908737](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@anon29908737](https://meta.discourse.org/u/anon29908737)
#### Post date: [8월 29, 2018, 1:07오후 UTC](https://meta.discourse.org/t/login-not-returning-to-discourse/95914/1 "2018-08-29T13:07:04Z")

</div>

Is there a way to return the user to where they were at in discourse when they hit the login button? Right now they login on WordPress (using woocommerce) and stay on the login page.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [8월 29, 2018, 9:15오후 UTC](https://meta.discourse.org/t/login-not-returning-to-discourse/95914/2 "2018-08-29T21:15:28Z")

</div>

Users should be returned to where they were on Discourse when they click the login button. If this isn’t working on your site it may be a conflict with the Woocommerce plugin. Can you give me some more details about what is happening? Are users being returned to Discourse, or are the stuck on WordPress after clicking the Discourse login button?

---

<div class="post-metadata">

### Author: ![anon29908737](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@anon29908737](https://meta.discourse.org/u/anon29908737)
#### Post date: [8월 29, 2018, 9:59오후 UTC](https://meta.discourse.org/t/login-not-returning-to-discourse/95914/3 "2018-08-29T21:59:45Z")

</div>

Stuck in WordPress. They then need to click the link in the menu to go back to the forum, hit login again, and they are immediately logged into and stay in discourse.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [8월 30, 2018, 12:35오전 UTC](https://meta.discourse.org/t/login-not-returning-to-discourse/95914/4 "2018-08-30T00:35:03Z")

</div>

I can reproduce this problem with the Woocommerce plugin installed on my site. Installing the [wp-discourse-woocommerce-support](https://github.com/scossar/wp-discourse-woocommerce-support) plugin should solve the issue for you. To get the plugin, click the green ‘Clone or Download’ button on its GitHub page, and then click ‘Download ZIP’.

You can install and activate the plugin through your WordPress dashboard.

---

<div class="post-metadata">

### Author: ![anon29908737](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@anon29908737](https://meta.discourse.org/u/anon29908737)
#### Post date: [8월 31, 2018, 9:15오후 UTC](https://meta.discourse.org/t/login-not-returning-to-discourse/95914/5 "2018-08-31T21:15:57Z")

</div>

Installed and everything works now. Thanks again, Simon!

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [9월 5, 2018, 10:00오후 UTC](https://meta.discourse.org/t/login-not-returning-to-discourse/95914/6 "2018-09-05T22:00:07Z")

</div>

This topic was automatically closed after 44 hours. New replies are no longer allowed.
