redirect login user so they dont see register page
-
Hi ! Right now my login in user can still access the register page and i’ve tried several ways but nothing seems to work. I would like them to redirect to their profile. Also i’m using a custom template for the register page in my child-theme folder.
I’ve tried ?wp-admin > ultimate member > user roles > (edit prefered role) > (scroll to registration options) and change setting for “Action to be taken after registration” field to redirect user to a different url once they are registered. (from this post)
I’ve tried wp-admin > page > edit register page like describe here but with restricted to login in user instead of logout people.
I’ve tried to change my template to put a condition type : if user is login redirect to profile page, else show register. In register.php
No success so far. Do you have an idea how to make it works?
- The topic ‘redirect login user so they dont see register page’ is closed to new replies.