About changing the login url, i already did by mysel.
It help me protect my site and prevent brute force
You can change it in htaccess.
But you also need to add the filter to replace old login url in wordpress.
Example to my website:
File .htaccess:
RewriteRule ^signin(.*) wp-login.php?%{QUERY_STRING}
In your theme or custom plugin, you can add the filter to make sure wordpress show the correct login url .
add_filter( 'login_url', 'my_login_page', 10, 2 );
function my_login_page( $login_url, $redirect ) {
return str_replace("wp-login.php","signin",$login_url);
}
add_action( 'login_form', 'replace_login_submit_form',1);
function replace_login_submit_form() {
$your_content = ob_get_contents();
$your_content = str_replace("wp-login.php","signin",$your_content);
ob_get_clean();
echo $your_content;
}
Hope it can help you!
Related Posts:
- How to change “wp-admin” to something else without search-replacing the core?
- Securing wp-admin folder – Purpose? Importance?
- Options for restricting access to wp-admin
- Block access to 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?
- FORCE_SSL_ADMIN not working
- How to Change The WordPress Login URL Without Plugin
- 404 redirect wp-login and wp-admin after changing login url [closed]
- Couple questions about .htaccess, login page, updates
- Can I rename the wp-admin folder?
- “Too many redirects” ONLY when trying to access wp-admin page
- Unable to login and wp-login.php redirects to wp-admin%2F&reauth=1?
- How to redirect/rewrite all /wp-login requests
- Use a different domain for SSL
- What is the best method to close off the backend?
- .htaccess in wp-admin produces a redirect loop
- Share same domain for wp-admin but for different website
- Wrong canonical link on wp-admin pages
- How can I make WordPress work with a Symfony app?
- How to remove “admin.php?page=” from wp-admin using .htaccess?
- Can I rename the wp-admin folder?
- WordPress in sub directory wp-admin problem
- .htaccess rewrite rule for removing .php extension with exception of wp login and wp-admin
- Can’t access admin dashboard with wp-admin without /index.php after it
- Why should I password protect WP-Admin?
- Call to undefined function insert_with_markers
- Replace wordpress login logo with custom text
- Using /wp-admin works, using /login gives a 404. Why?
- Remove special characters in a URL
- Blocking access to wp-login via htaccess not working
- Cannot log into WordPress Dashboard after removing/adding .htaccess
- Attach to wp-login.php and xmlrpc.php
- Change WP-Login or WP-Admin
- Which HTTP headers to use for subdomain embedding?
- CDN + WP Admin Query – .htaccess redirection
- From 403 error to 500 internal server error
- Prevent /wp-admin/ from redirecting to homepage?
- Cannot Access Admin Area After Migration
- Wrong wp-admin URL
- Limit access to wp_admin
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- password reset link being sent as HTTP?
- How do I host WordPress on a hidden domain through a reverse proxy?
- Use Password Protected Form without the use of wp-login.php
- wp-admin – 404 after custom login form
- How to fix ‘WordPress redirection loop problem in wp-login.php page’?
- Logout USER form backoffice after 30 minutes of inactivity [closed]
- Do I have to face security problems if I changing default role to Contributor
- Hide username discovery
- WordPress server change – slow admin login time for first time
- White screen of death for wp-admin and error for wp-login.php after entering credentials
- Blank page for wp-admin after i uploaded the website from my localhost to the live server
- How to set where user is redirected to after logging in at wp-login?
- Efficient way to check local WordPress php files and Database for malicious code? [duplicate]
- Renaming wp-admin without hard-coding it. Is it really possible?
- Why can I log into wp-login.php and not wp-admin.php?
- 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)
- Developer/Designer asking for admin access
- Redirect an entire WordPress site on a subdomain, except wp-admin
- Blank page when viewing wp-admin
- Why wp redirects me to wp-login.php when I visit a rewritten wp-admin URL?
- Is WordPress secure enough for a multi-user article directory?
- Weird urls after moving site from local env to a server
- issue with wordpress [wp-admin] redirects, when using kubernetes ingress hosting two wordpress websites using path
- When i try to open Localhost/wordpress/wp-admin . An Error appears ” Registration Has been Disabled” . No login page is shown in the browser
- wp-admin going directly to 404
- WordPress /wp-admin redirect to wrong port in docker
- Basic Auth .htaccess on wp-login, but allow logout from woocommerce
- wp-admin and wp-login.php not Accessible after Cloudflare
- Can I rename the wp-admin folder?
- CSRF attack to create USER
- Disabling WP-Admin Caching in htaccess
- Can I rename the wp-admin folder?
- Limit access to wp-admin but still be able to log in from different locations?
- SSL doesn’t deliver parts of WordPress Administration Module
- Why WordPress not logout after I have close my browser?
- Making WP Admin Folder accessable JUST under a different link
- Launch wordpress site to local computer from live website backed-up
- How to rename the WordPress wp-login.php running on IIS6?
- How to protect wp-admin from third party access?
- Custom login form logo not displaying
- 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
- How to disable the “Post Lock/Edit Lock”?
- Check if user is admin by user ID
- How can I make my Admin Icon SVG color correctly? [closed]
- Is there any filter to disable the total fronted in WordPress
- What is wrong with this code to remove wp admin bar from one page
- How do I test to ensure that my wp-config file is protected?
- Display checked in checkbox theme admin page when reloaded
- Customise particular RSS permalink
- Can’t connect to WP-Admin, blank error message
- Multiple permalink with and without category for same post
- Custom Params in URL
- Trying to list user and post information from (wp_includes/post.php ) causes Fatal error
- WordPress User profile page fields missing
- Fully mask *all* traces of WordPress installation subdirectory?
- Help please i cant login to wordpress panel [closed]