Untested with your code but assuming it will be automated bots hitting your login pages you should get them straight off your site with something like this:
RedirectMatch 301 wp-login.php http://www.google.com
RedirectMatch 301 wp-admin http://www.google.com
Related Posts:
- How to Change The WordPress Login URL Without Plugin
- Couple questions about .htaccess, login page, updates
- Change Login URL Without Plugin
- Securing wp-admin folder – Purpose? Importance?
- Options for restricting access to wp-admin
- Can’t access admin dashboard with wp-admin without /index.php after it
- How to change “wp-admin” to something else without search-replacing the core?
- Block access to wp-admin
- Cannot log into WordPress Dashboard after removing/adding .htaccess
- Change WP-Login or WP-Admin
- Should I add the IP of the server that hosts my sites to the list of authorized IPs in the wp-admin/.htaccess?
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- Cookie Domain is preventing Admin login
- Blank page when viewing wp-admin
- Why WordPress not logout after I have close my browser?
- Can I rename the wp-admin folder?
- What’s the easiest way to stop WP from ever logging me out
- “Too many redirects” ONLY when trying to access wp-admin page
- Unable to login to my wordpress site. reauth=1 redirection loop
- Custom login redirects to wp-admin on wrong password
- .htaccess in wp-admin produces a redirect loop
- WP-Admin not working properly at WordPress multisite with subdirectories
- Share same domain for wp-admin but for different website
- How to allow users login to WP from external domain and make REST requests
- Wrong canonical link on wp-admin pages
- Can I rename the wp-admin folder?
- Users are redirected to homepage instead of wp-admin
- How to Block Access to Standard Login Flow and Comment Flow
- .htaccess rewrite rule for removing .php extension with exception of wp login and wp-admin
- Display sortable User meta column in admin panel user’s page
- Which ways can be used to log in to WordPress?
- WordPress Error establishing a database connection For Admin login only
- comment_form – show all fields when logged in
- Why should I password protect WP-Admin?
- How to change how long items are kept in the trash?
- Using /wp-admin works, using /login gives a 404. Why?
- Which HTTP headers to use for subdomain embedding?
- CDN + WP Admin Query – .htaccess redirection
- From 403 error to 500 internal server error
- I cannot log into my wordpress site with my wp-login.php [closed]
- FORCE_SSL_ADMIN not working
- How do I set the homepage to the WordPress Admin Dashboard login?
- Why am I unable to login after converting to www?
- 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
- Wrong wp-admin URL
- Detecting all admins that are logged in
- WordPress and bbPress Login conflicts?
- password reset link being sent as HTTP?
- How do I host WordPress on a hidden domain through a reverse proxy?
- Users disappeared from wp-admin
- Modify WP-Admin login fields
- WordPress (behind HAProxy and Jetty), not multisite, in sub folder – and /en/wp-admin/ keeps redirecting to /wp-admin/
- How to fix ‘WordPress redirection loop problem in wp-login.php page’?
- Do I have to face security problems if I changing default role to Contributor
- Sorry, you are not allowed to access this page
- Hide username discovery
- Require Login Redirect to Login Page
- Cannot access WordPress login pages
- Cant login to wp-admin
- Need help for WordPress User Session Management?
- How login is possible, if I deny login page via .htaccess with allow ip
- Disable Admin CP authentication (or auto login)
- WP-admin or any other is redirecting me to (This page doesn’t seem to exist.)
- how can provide access to wp_admin page for non wp_users?
- Redirect an entire WordPress site on a subdomain, except wp-admin
- Can’t connect to WP-Admin, blank error message
- GoDaddy hosting wp-admin problem
- WP Admin Login keeps redirecting to login
- Is WordPress secure enough for a multi-user article directory?
- CPU overload spam – redirect link to wp-admin and new post
- define two login page url
- Could not override the url in wp-config file
- wp-admin going directly to 404
- WP-Admin throws 404 after changing wp-config Salts
- WordPress /wp-admin redirect to wrong port in docker
- wp-config.php not affecting my site
- Login issue with subdomain installs
- How can I can I make changes to a WP project I pulled from GItHub?
- Should I prevent access to .htaccess and wp-config.php files?
- wp-admin and wp-login.php not Accessible after Cloudflare
- Can I rename the wp-admin folder?
- stop customize.php redirect to login page if admin is not logged in
- Disabling WP-Admin Caching in htaccess
- WordPress logged in but no access to wp-admin
- Error establishing a database connection – after updating DNS
- Changed the path to wp-login and now can’t access WPress dashboard
- Unable to log in as admin
- Handling multiple account logins?
- Not able to access WP admin Page, redirected and a drop down login menu appears 401 error
- Can I rename the wp-admin folder?
- SSL doesn’t deliver parts of WordPress Administration Module
- Cannot login in WordPress even after changing hash password in phpmyadmin
- Can’t log into WordPress after domain change
- is_admin() conditional statement
- Admin Login page not working at all
- No wp-admin, wp-config, or .htaccess folder/file
- After Upgrade: $user becomes unknown (id: 0) after successful login?
- Redirect users based on their roles, is_admin()
- login_enqueue_scripts changes are not reflecting