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?
- “Too many redirects” ONLY when trying to access wp-admin page
- How to redirect/rewrite all /wp-login requests
- Use a different domain for SSL
- Unable to login to my wordpress site. reauth=1 redirection loop
- Custom login redirects to wp-admin on wrong password
- What is the best method to close off the backend?
- 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
- WordPress in sub directory wp-admin problem
- How to move wp-admin login page to another location? [closed]
- Adding body class to login page?
- Edit a WordPress site without the username and password?
- Why should I password protect WP-Admin?
- Call to undefined function insert_with_markers
- Using /wp-admin works, using /login gives a 404. Why?
- Which HTTP headers to use for subdomain embedding?
- CDN + WP Admin Query – .htaccess redirection
- FORCE_SSL_ADMIN not working
- 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!
- Cannot Access Admin Area After Migration
- Admin username and password
- Can’t login to Dashboard when changing site URL to HTTPS
- Limit access to wp_admin
- WordPress and bbPress Login conflicts?
- Website looks fine, but login to wp-admin yields a blank screen
- cannot find the login page for local WordPress site
- How do I host WordPress on a hidden domain through a reverse proxy?
- Users disappeared from wp-admin
- Modify WP-Admin login fields
- display dynamic WP Site logo on wp-admin using CSS
- WordPress (behind HAProxy and Jetty), not multisite, in sub folder – and /en/wp-admin/ keeps redirecting to /wp-admin/
- wp-admin – 404 after custom login form
- Logging into sandbox subdomain WP
- Logout USER form backoffice after 30 minutes of inactivity [closed]
- Having troubles connecting to WordPress login page using Mamp
- Sorry, you are not allowed to access this page
- WP Admin/ WP Login Redirect to themselves
- Hide username discovery
- Require Login Redirect to Login Page
- How to secure files based on format and word in file name with wp-config or htaccess?
- Cannot access WordPress login pages
- Cant login to wp-admin
- Efficient way to check local WordPress php files and Database for malicious code? [duplicate]
- Why am I locked out of the system?
- How login is possible, if I deny login page via .htaccess with allow ip
- firing function at login within class
- WP-admin or any other is redirecting me to (This page doesn’t seem to exist.)
- wp-login not found – All usual solutions not working
- how can provide access to wp_admin page for non wp_users?
- Why when I try to access to this old WordPress site it is opened the installation page?
- Can’t connect to WP-Admin, blank error message
- GoDaddy hosting wp-admin problem
- Could not override the url in wp-config file
- wp-admin going directly to 404
- WordPress /wp-admin redirect to wrong port in docker
- wp-config.php not affecting my site
- Should I prevent access to .htaccess and wp-config.php files?
- How to log into WordPress via GET/POST
- wp-admin and wp-login.php not Accessible after Cloudflare
- Can I rename the wp-admin folder?
- Trying to login to my site redirects me to the first page
- CSRF attack to create USER
- stop customize.php redirect to login page if admin is not logged in
- Admin Login Checks
- Error establishing a database connection – after updating DNS
- 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
- WordPress Login for multiple sites
- 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
- Impossible User Registration
- 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()
- is exposed wp-admin site a serious security vulnerability
- WordPress site shows a white page for site/wp_admin. A login returns again to the login screen