Hi @alexlii,
The Dashboard and Edit My Profile pages are the default pages WordPress redirects user after login (if you are using default WordPress login form). You should keep those pages always accessible.
However you can override the default WordPress behavior with Login Redirect feature. Here you can define where any role or individual user should be redirected upon successful login.
Please note! As soon as visitor logged in successfully, he/she is no longer a visitor. That is why there is no way to define login redirect for visitors.
Regards.
Vasyl
Thanks.
Actually, I am using a plugin of Remove Dashboard Access(https://ww.wp.xz.cn/plugins/remove-dashboard-access-for-non-admins/) to forbid all other roles to access to backend except administrator, and already costumed a URL there.
And I define another URL in Access Denied Redirect of AAM.
Are there any conflict between them? or should I deactivate Remove Dashboard Access?
Thanks
Alex