Apps Ballance Cash_2 Chat Checkout Click Code Cog_Wheels Compose_email Conference Contacts Earth Edit_File_1_ Email Email_2 File Folder_2 Gift Group Group_2 Help ID ID_2 Key Keys Laptop_Store Like_1_ Link Lock Log_Out Map Marketing Mobile_UI Navigation POS Partnership Profile Safe_2 Search_User Secure_Files Settings Share Shield Shield_2 Shopping_Cart Support_Male Trash Type_pin User_female User_male logo copy

Redirect the login and register pages for logged in users to the account page

Iain Poulson avatar
Iain Poulson Last updated on March 6, 2021

When logged in users visit the login or register page they will see a page that says “You are currently logged in as…” with some helpful links. This template can be
customised, but for some these pages aren’t necessary.

To redirect logged in users who visit the login or register pages to the account page, add this code to your theme’s functions.php or to an mu-plugin file inside `wp-content/mu-plugins`:

WP User Manager logo

Get Started with the Best WordPress Membership Plugin Today

Connect, Manage and Build your Membership Site

Need more help?

If you still didn't find an answer you can always contact us

Submit a ticket