I’m working on a WordPress site and I want to hide the /wp-admin URL from users, especially when they try to access something like:
https://example.com/wp-admin/edit.php or https://example.com/wp-admin/edit.php?post_type=page
My Goal:
When someone types or clicks a link to /wp-admin/…, they should be redirected or see a custom-looking URL, like:
https://example.com/custom-admin/edit.php or https://example.com/custom-admin/edit.php?post_type=page
I know that WordPress core uses /wp-admin as the fixed admin area, Is it possible or not.
Bonus if it can be done only for specific roles like Editors.
Question:
Is there any safe and WordPress-compatible method to visually change or redirect /wp-admin URLs?
Can I set up a role-specific dashboard without completely removing access to core admin?
Finally, In WordPress, I want the /wp-admin URL to function normally, but in the browser address bar, I want to show a different custom path (like /custom-admin) instead of showing /wp-admin.
Thanks in advance!