=== Block wp-login === Contributors: domainsupport Tags: security, secure, security plugin, wordpress security, login security, block hackers Requires at least: 3.5.0 Tested up to: 4.9.4 Stable tag: 1.2.2 This plugin completely blocks access to wp-login.php and creates a new secret login URL == Description == = Block Access to wp-login.php = This plugin does the following: 1) Locates wp-login.php in your WordPress installation and duplicates it 2) Locates .htaccess and inserts lines to block the default wp-login.php and creates a new secret address to use for legitimate login 3) Allows you to reduce load on the server by optionally blocking admin-ajax.php, wp-cron.php, xmlrpc.php and robots.txt When installed your server will return “403 Forbidden“ when attempts are made to access the default wp-login.php file. This has two benefits; it prevents hackers from using brute force methods to hack your website and it reduces the load on the server when such brute force attacks are launched on your site. == Installation == Easily prevent access to the default wp-login.php file: 1) Install Block wp-login automatically or by uploading the ZIP file. 2) Activate the plugin through the ‘Plugins’ menu in WordPress. 3) Once activated, visit “Settings - Permalinks” in the admin menu. 4) At the bottom of the page tick the box next to “Block wp-login” 5) Make sure you make a note of the new address you will need to use to sign in and confirm 6) Choose if you would also like to block admin-ajax.php, wp-cron.php, xmlrpc.php and robots.txt 6) Save the settings Although this plugin now detects when Wordpress has been upgraded and re-installs itself, when upgrading Wordpress core, you should still make sure you deactivate this plugin first. == Frequently Asked Questions == * What is /wp-login.php ? This is the login page for Wordpress; hundreds or thousands of hits to this page is not normal and is almost certainly a brute force attempt to hack the admin password. * What is /wp-admin/admin-ajax.php ? This is a WordPress core feature which is used to provide functionality to the control panel when things need to happen without you leaving the current page. Features include (but are not limited to) automatic saving of posts, updating of plugins on the plugin page and viewing of the media library when adding media to a page. Some WordPress Themes and Plugins also make use of this script so you should thoroughly test your site if you decide to block admin-ajax.php. * What is /wp-cron.php ? This is a WordPress core feature which is used to perform scheduled tasks in the background. Tasks include (but are not limited to) scheduling of posts to go live in the future and automatic updates of the WordPress core. If you’re not too bothered about scheduled posts and you manually keep your WordPress core up-to-date, you can probably block this script however, popular plugins like Wordfence make use of it to keep an eye on your website and inform you when things need attention. * What is /xmlrpc.php ? This is a WordPress core feature which allows users to publish to their WordPress website remotely. This feature has been abused in the past and has been used to brute force admin passwords. If you don’t use another program to publish content to your WordPress website then we believe you should block this script. * What is /robots.txt ? This file tells search engines what can and can’t be crawled and indexed from your website. So excessive hits to this file are quite normal but can be very detrimental to the load on your server if the file doesn’t exist. Why? Because WordPress will create an automatic version of this file which fires up the entire WordPress core to in turn serve a very small file. So, if you don’t have a robots.txt file, you may as well block access to it. == Changelog == = 1.2.2 = * Bug fixes. = 1.2.1 = * Wordpress upgrade email re-worded = 1.2.0 = * Plugin now automatically detects when Wordpress has been upgraded and re-installs itself. * Bug fixed for when wp_mail() isn’t working = 1.1.7 = * Bug fixes. = 1.1.6 = * Plugin now upgrades automatically when activated if licensed. = 1.1.5 = * Plugin is now internationalised ready for translation. * Help banner admin notice now appears until plugin has been configured. * Added help links on the settings page and added this information to the FAQ. * Minor bug fixes. = 1.1.4 = * Blocking admin-ajax.php now allows commands when inniated from /wp-admin/. * Blank user or site owner emails won't break saving settings. * Duplicate emails are not sent now when site owner and user email addresses are the same. * Options to block admin-ajax.php, wp-cron.php, xmlrpc.php and robots.txt are disabled until wp-login.php block is activated. = 1.1.3 = * Plugin now emails all Administrators and the email set in General Settings with the new login URL. = 1.1.2 = * Added option to block admin-ajax.php, wp-cron.php, xmlrpc.php and robots.txt for the free plugin. = 1.1.1 = * Bug fixes. * Option to block wp-cron.php, admin-ajax.php and robots.txt for upgraded plugin. = 1.1.0 = * Plugin re-written to make use of "Settings - Permalinks" so upgraded plugin can choose custom login slug. * Plugin now reverses changes when deactivated. * Plugin creates random login slug. = 1.0.0 = * First, beta version of the plugin. == Upgrade Notice == = 1.2.2 = Bug fixes = 1.2.1 = Wordpress upgrade email re-worded = 1.2.0 = Plugin detects Wordpress upgrade and auto-reinstalls = 1.1.7 = Bug fixes. = 1.1.6 = Plugin now upgrades automatically when activated if licensed. = 1.1.5 = Plugin is now internationalised, has a help banner, help links on settings page and FAQ. = 1.1.4 = Bug fixes and blocking admin-ajax.php now allows commands from Wordpress core. = 1.1.3 = Administrators and site owners now receive and email when the login address changes. = 1.1.2 = Optionally block admin-ajax.php, wp-cron.php, xmlrpc.php and robots.txt to reduce load on the server. = 1.1.1 = Bug fixes.