Add the following to your .htaccess file:
# Custom default index page
DirectoryIndex ./wp-login.php
That should work.
Related Posts:
- How to Change the Default Home Page for the WordPress Dashboard?
- Make sub menu items a main link in the admin menu using fuctions.php
- Cannot log into WordPress Dashboard after removing/adding .htaccess
- Change WP-Login or WP-Admin
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- Admin top level menu, pointing to an external url
- Dashboard : remove Safari navigator message
- How to log into WordPress via GET/POST
- Trying to login to my site redirects me to the first page
- Admin Login Checks
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- Admin Login page not working at all
- How to make the Panel // WP-Admin lighter via Mobile
- Organizing Code in your WordPress Theme's functions.php File?
- Changing Admin Menu Labels
- Admin Page Redirect
- Disable dragging of meta boxes?
- How to remove screen options and help links in the admin area?
- Sort admin menu items
- Remove dashboard, use Pages tab as default
- How to redirect/rewrite all /wp-login requests
- Best way to present options for home page in admin?
- Unable to login to my wordpress site. reauth=1 redirection loop
- Add “external” link to admin menu in the backend
- Custom column for changing post status via ajax
- Custom login redirects to wp-admin on wrong password
- 3.3: How do you hide the new dashboard welcome panel?
- Make fonts.com font work in TinyMCE (iframe referrer issue)
- How to allow users login to WP from external domain and make REST requests
- How to display the user that published a pending post?
- How to remove the site health dashboard widget?
- How to remove items from +New admin menu?
- Copy my user account’s wp-admin dashboard layout to other users?
- Appearance->Editor not visible
- Users are redirected to homepage instead of wp-admin
- How to disable or hide “collapse menu”
- Add column to pages table
- Admin account only shows Profile and Dashboard with no activity
- Dashboard links not working
- Can initial focus be set to search field in WordPress Media Library?
- wp-admin – save options without refreshing?
- Removing admin bar from wordpress dashboard
- Display sortable User meta column in admin panel user’s page
- How to move wp-admin login page to another location? [closed]
- Can’t access admin dashboard with wp-admin without /index.php after it
- Adding body class to login page?
- Edit a WordPress site without the username and password?
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- How do you modify CSS files via admin panel?
- comment_form – show all fields when logged in
- Can’t access dashboard, connection times out (other pages work fine)
- How to prevent parent admin page from appearring as a child admin page
- Custom Dashboard Home Screen Options
- Using /wp-admin works, using /login gives a 404. Why?
- I keep getting logged out in Firefox
- wp-admin does not redirect to dashboard
- Custom WordPress Dashboard for Specific user role
- SSL Partially breaking admin panel and elementor
- I cannot log into my wordpress site with my wp-login.php [closed]
- Show Welcome Panel on Dashboard for every user
- Prevent /wp-admin/ from redirecting to homepage?
- What is the practical difference between is_admin() and is_blog_admin()?
- Cannot access wp-admin after disabling all plugin
- Create a admin page in wordpress without admin menus (“wordpress sidebars”)
- How to hide wordpress default description box?
- Create a fullwidth dashboard widget
- Can’t access WordPress as an admin – but I can log in as a user!
- Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well
- Can’t login to Dashboard when changing site URL to HTTPS
- Locked Out Of WordPress Admin Dashboard After Server Move
- Detecting all admins that are logged in
- WordPress and bbPress Login conflicts?
- Website looks fine, but login to wp-admin yields a blank screen
- Allow administrators to pick post author on custom post type edit screen
- How to make the front-end RTL without changing the admin panel language?
- cannot find the login page for local WordPress site
- Users disappeared from wp-admin
- Modify WP-Admin login fields
- display dynamic WP Site logo on wp-admin using CSS
- How to Change The WordPress Login URL Without Plugin
- Add column to pages table
- wp-admin – 404 after custom login form
- Can’t access dashboard as administrator, login as any other level works though
- How to fix ‘WordPress redirection loop problem in wp-login.php page’?
- Logging into sandbox subdomain WP
- 404 redirect wp-login and wp-admin after changing login url [closed]
- Having troubles connecting to WordPress login page using Mamp
- Wp-admin is giving me an error “Sorry, you are not allowed to access this page.”. I do have access to the wp-admin besides the dashboard itself
- WP-Admin shows (1) update but there is no update for plugin, theme or WordPress
- What are the requirements to make the admin toolbar show up on the front end
- Sorry, you are not allowed to access this page
- WP Admin/ WP Login Redirect to themselves
- White screen of death in Dashboard after clean installation
- Remove bulk option row
- How do I let logged out users see the dashboard?
- How can I replace dashboard.css and dashboard.min.css (not add new css)
- Unable to Access WP Admin or Login buttons after Migration
- WP admin user search doesn’t return all users
- Cookie Domain is preventing Admin login
- Require Login Redirect to Login Page