I mean when we have subdirectory install and /wp-admin/ is not referencing to directory wp-admin, but wordpress stills redirects and not just for wp-admin slug but also for admin and dashboard and maybe some more?
Where is this happening? It is not in rewrite rules? Is it hard coded?
I don't want this behavior and i want to turn it off, but i want clean solution, nota check url and if slug is present than do my redirect.
When you visit
example.com/login you're redirected to the login page, and
example.com/dashboard redirects to the admin area. How can I disable this behaviour or change the redirect location?
I have my own login and dashboard interfaces and would like to use those instead