# Redirected to Wordpress dashboard after discourse login

**URL:** <https://meta.discourse.org/t/redirected-to-wordpress-dashboard-after-discourse-login/60116>\
**Category:** WordPress\
**Created:** [Março 29, 2017, 3:41pm UTC](https://meta.discourse.org/t/redirected-to-wordpress-dashboard-after-discourse-login/60116 "2017-03-29T15:41:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Martin\_O](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@Martin\_O](https://meta.discourse.org/u/Martin_O)\
**Post date:** [Março 30, 2017, 11:28am UTC](https://meta.discourse.org/t/redirected-to-wordpress-dashboard-after-discourse-login/60116/7 "2017-03-30T11:28:47Z")

</div>

Simon, thanks for advice.

Temporarily solved by adding our discourse host to the hosts array in allow\_discourse\_redirect function manually.  
Would it be of use to add this list of hosts to the [Discourse sso](https://meta.discourse.org/t/13045?silent=true) configuration in wp Dashboard?

---

_[View the full topic](https://meta.discourse.org/t/redirected-to-wordpress-dashboard-after-discourse-login/60116)._
