I always look for ways to make repetitive tasks quicker and more accessible without taking my hands off my keyboard. My interest was piqued recently when I stumbled upon the WordPress core function wp_redirect_admin_locations()
which provides three shorter WordPress admin URLs.
Dashboard, admin, and login
The wp_redirect_admin_locations()
function is located in wp-includes/canonical.php and will redirect the following requests to the relevant admin screens:
- www.example.com/admin
- www.example.com/dashboard
- www.example.com/login
This is not a huge timesaver, and there are many other ways to access URLs quickly, but I felt good knowing that I didn’t have to type the ‘wp-‘ in ‘wp-admin’. That “wp hyphen” always slowed me down 😉
Leave a Reply