# 关于 WordPress 的单点登录（SSO）帮助

**URL:** https://meta.discourse.org/t/sso-with-wordpress-help/80315
**Category:** WordPress
**Created:** [2018年二月11日 17:12 UTC](https://meta.discourse.org/t/sso-with-wordpress-help/80315 "2018-02-11T17:12:36Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![CodySullivan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codysullivan/32/141986_2.png) [@CodySullivan](https://meta.discourse.org/u/CodySullivan)
#### Post date: [2019年五月24日 07:38 UTC](https://meta.discourse.org/t/sso-with-wordpress-help/80315/9 "2019-05-24T07:38:30Z")

</div>

I have the same original issue as @dena_blaze and am also using the Profile Builder plugin. I added this code to my `functions.php` file and it doesn’t seem to work.

I could try using [the solution you had here](https://meta.discourse.org/t/wp-discourse-login-page-path/103780/2) of creating an entirely separate login page via Profile Builder and then setting a redirect to my Discourse forum homepage, but that seems like an unnecessary workaround, and it would be more ideal to use this solution since my understanding is that it would redirect the user back to the exact forum page they were looking at previously (not just the homepage as a catch-all).

Any updates on whether this has been added to the plugin’s code, and/or is it likely something may have changed with Profile Builder to need a different solution?

---

_[View the full topic](https://meta.discourse.org/t/sso-with-wordpress-help/80315)._
