# WP Discourse login page path

**URL:** <https://meta.discourse.org/t/wp-discourse-login-page-path/103780>\
**Category:** WordPress\
**Created:** [December 8, 2018, 7:59am UTC](https://meta.discourse.org/t/wp-discourse-login-page-path/103780 "2018-12-08T07:59:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![RickU](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ricku/32/126290_2.png) [@RickU](https://meta.discourse.org/u/RickU)\
**Post date:** [December 8, 2018, 7:59pm UTC](https://meta.discourse.org/t/wp-discourse-login-page-path/103780/3 "2018-12-08T19:59:02Z")

</div>

Thanks so much, @simon.

I did this and for my /login path (which is the customized login I was referring to) and it works great. The problem here is that it is redirecting even those that type /wp-admin to /login, and I was just hoping to have 2 different paths.

1. If user types on the browser either /login or [discourse.mysite.com](http://discourse.mysite.com) then redirect to ➡ /login
2. if user types /wp-admin it simply stays there and log in through there. But what is happening instead is:  
2a. /wp-admins redirects to ➡ /login and once completed re-direct back to ➡ /wp-admin.

The general idea is to have all regular users go through **/login** and all admins through **/wp-admin**.

Thanks for your help.

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-login-page-path/103780)._
