{"id":1451,"date":"2018-02-09T19:00:08","date_gmt":"2018-02-09T19:00:08","guid":{"rendered":"http:\/\/reseller-hosting-themes.com\/wordpress\/?p=1451"},"modified":"2018-02-07T16:12:44","modified_gmt":"2018-02-07T16:12:44","slug":"7-tips-create-secure-wordpress-login-page","status":"publish","type":"post","link":"https:\/\/reseller-hosting-themes.com\/wordpress\/7-tips-create-secure-wordpress-login-page\/","title":{"rendered":"7 tips to create a secure WordPress login page"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\"alignright wp-image-1475 size-medium\" src=\"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-content\/uploads\/2017\/04\/protect-the-login-page-in-wordpress-300x225.png\" alt=\"7 tips to create a secure WordPress login page\" width=\"300\" height=\"225\" srcset=\"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-content\/uploads\/2017\/04\/protect-the-login-page-in-wordpress-300x225.png 300w, https:\/\/reseller-hosting-themes.com\/wordpress\/wp-content\/uploads\/2017\/04\/protect-the-login-page-in-wordpress.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>WordPress is one of the most popular CMS systems, single-handedly powering more than 20% of all sites online.<\/p>\n<p>However, being so popular has its downsides &#8211; WordPress sites are often the target of hacker attacks.<\/p>\n<p>This is why one of the first things you should do if you have a WordPress-driven website is to make sure you have a secure WordPress login page.<\/p>\n<p>Since it is the gateway to your WordPress based website, it often happens to be the gate for most of the hacker attacks.<\/p>\n<p>Therefore, if you minimize its security vulnerabilities, you&#8217;ll decrease\u00a0the chances for any harmful\u00a0behavior towards\u00a0your site.<\/p>\n<p>Today, we will show you 7 different ways to\u00a0create a\u00a0secure WordPress login page.<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Table of Contents<\/p><ul class=\"toc_list\"><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><li><\/li><\/ul><\/div>\n\n<h2><span id=\"Replace_the_8216admin8217_username\">Replace the &#8216;admin&#8217; username<\/span><\/h2>\n<p>In case you&#8217;re not aware, &#8216;\u0430dmin&#8217; is the standard username for WordPress as well as for a bunch of other platforms.<\/p>\n<p>Every single hacker on the web knows this. And if you use the &#8216;admin&#8217; username and someone attacks your login page, for them it&#8217;s the job half done.<\/p>\n<p>So, the first thing you need to do if you want a\u00a0secure WordPress login page is to change the pre-defined username.<\/p>\n<p>\u0422\u043e replace the &#8216;admin&#8217; username, do the following:<\/p>\n<p>\u2022 Log\u00a0into WordPress;<br \/>\n\u2022 Add a new user by going to: Users &gt; Add New;<br \/>\n\u2022 Select &#8216;Administrator&#8217; as the role for this new user. Try to think of a unique and more difficult to guess username \u2013 this will be the new username of the admin user;<br \/>\n\u2022 Sign out of the old &#8216;Admin&#8217; user account;<br \/>\n\u2022 Sign in again with the new unique username that you&#8217;ve just created;<br \/>\n\u2022 Delete the original &#8216;Admin&#8217; user. You&#8217;ll also need to reassign all your previous posts from the old &#8216;Admin&#8217; user to the new user;<\/p>\n<h2><span id=\"Create_a_strong_password\">Create a strong password<\/span><\/h2>\n<p>Changing the default &#8216;Admin&#8217; username is step one to efficiently upgrading your WordPress protection.<\/p>\n<p>Step two towards a more\u00a0secure WordPress login page is to change your password. Never use your own initials or birthdate, as they are the easiest info one can acquire about you.<\/p>\n<p>Bots can easily guess your favorite sports team, pet names and other similar details.<\/p>\n<p>More often than not, brute force attacks are continuous\u00a0attempts at guessing a given password (trial and error).<\/p>\n<p>So, if you use a short and weak password, you&#8217;re prone to attacks.<\/p>\n<p>A strong password should contain both letters and numbers \u2013 upper case and lower case.<\/p>\n<p>You can also add a symbol like &#8216;@&#8217; or &#8216;!&#8217; to further strengthen it.<\/p>\n<p>If you find it difficult to think of one yourself, WordPress offers a password generator\u00a0built-in.<\/p>\n<p>Strong passwords might be more difficult to remember than weak ones, but you can always use password managers like: <a href=\"https:\/\/www.lastpass.com\/\" target=\"_blank\" rel=\"noopener\">LastPass<\/a>, <a href=\"https:\/\/www.dashlane.com\/\" target=\"_blank\" rel=\"noopener\">DashLane<\/a>, <a href=\"https:\/\/keepass.info\/\" target=\"_blank\" rel=\"noopener\">KeePass<\/a>, 1Password, <a href=\"https:\/\/www.roboform.com\/\" target=\"_blank\" rel=\"noopener\">RoboForm<\/a>, etc.<\/p>\n<p>No need to worry about compromising your security, since your passwords will be stored in an encrypted form.<\/p>\n<p>You can also access them\u00a0from multiple web-connected devices to which you have access (smartphones, tablets, etc).<\/p>\n<p>You can also take a look at this report from SplashData, which shows the <a href=\"https:\/\/13639-presscdn-0-80-pagely.netdna-ssl.com\/wp-content\/uploads\/2017\/01\/Worst-password-infographic2-02.png\" target=\"_blank\" rel=\"noopener noreferrer\">weakest passwords of 2016<\/a>.<\/p>\n<p>If you are using one of the passwords listed there, it is now the\u00a0time to change it.<\/p>\n<h2><span id=\"Set_a_login_attempts_limit\">Set a login attempts limit<\/span><\/h2>\n<p>Bots gain access to your site by trying to log in with many different usernames and passwords multiple times until they finally hit the correct ones.<\/p>\n<p>There is a quick counter for this.<\/p>\n<p>Simply\u00a0limit the number of login attempts a single IP can make before it is\u00a0rejected from your website.<\/p>\n<p>Here are some specialized WordPress plugins to do this for you:<\/p>\n<p>\u2022 <a href=\"https:\/\/wordpress.org\/plugins\/limit-login-attempts\/\">Limit Login Attempts<\/a> \u2013 it limits the rate of login attempts per IP. Still, a commonly used plugin, although its last update was a long time ago.<br \/>\n\u2022 <a href=\"https:\/\/wordpress.org\/plugins\/brute-force-login-protection\/\" target=\"_blank\" rel=\"noopener noreferrer\">Brute Force Login Protection<\/a> \u2013 it can protect your website against all brute force attacks that use .htaccess.<br \/>\n\u2022 <a href=\"https:\/\/jetpack.com\/\" target=\"_blank\" rel=\"noopener\">Jetpack<\/a>\u00a0\u2013 Part of the Jetpack suite of tools is Jetpack Protect, which can help you mitigate\u00a0bot net attacks.<\/p>\n<p>Some web hosting providers offer login attempts restriction as part of their standard services.<\/p>\n<h2><span id=\"Use_a_different_login_URL\">Use a different login URL<\/span><\/h2>\n<p>The pre-defined URL for logging into a WordPress website is the site&#8217;s name followed by wp-login.php or wp-admin.<\/p>\n<p>If your website is called &#8216;mywebsite.com&#8217;, for example, its URL will be mywebsite.com\/wp-login.php or mywebsite.com\/wp-admin unless you change it.<\/p>\n<p>Needless to say, hackers are well aware of this fact. That\u2019s why if you want a secure WordPress login page, you should change this pre-defined URL<\/p>\n<p>An easy-to-use plugin like <a href=\"https:\/\/wordpress.org\/plugins\/protect-wp-admin\/\" target=\"_blank\" rel=\"noopener noreferrer\">Protect WP-Admin<\/a> will allow you to quickly change your default admin panel URL with a difficult to guess one.<\/p>\n<p>You can change the regular URL\u00a0to something like mywebsite.com\/backend.<\/p>\n<p>After that, all\u00a0queries for the standard mywebsite.com\/wp-login.php or mywebsite.com\/wp-admin URLs will be automatically redirected to your site&#8217;s homepage.<\/p>\n<p>The admin panel will be accessible only from the custom URL that you&#8217;ve set.<\/p>\n<p>One more time-tested way for WordPress admin page protection is to block the access to the wp-admin and the wp-login.php pages.<\/p>\n<p>This is a good idea if you use a static IP address.<\/p>\n<p>Keep in mind that if your IP changes from time to time, you can lock yourself\u00a0out of your own website.<\/p>\n<p>Of course, if you can keep track of multiple IPs, this can still be a great solution.<\/p>\n<p>Another way to protect the login URL is to add another level of restricted access, with simple HTTP authentication.<\/p>\n<p>This way, anyone who wants to visit your admin area will have to provide a username and a password just to see WordPressres login form.<\/p>\n<p>With this, a brute force attack to your admin page will require double effort, as there will be an additional layer of security.<\/p>\n<h2><span id=\"Get_an_SSL_certificate\">Get an SSL certificate<\/span><\/h2>\n<p>SSL (Secure Sockets Layer) is a cryptographic protocol for secure exchange of information between a website and a browser. Getting one will not only give you a\u00a0secure WordPress login page but a secure WordPress website as a whole.<\/p>\n<p>After an SSL certificate is set up correctly for a website, the server will encrypt all of the data including the private details (for instance: credit card details, etc).<\/p>\n<p>Only\u00a0the specific user&#8217;s browser will be capable of deciphering this data.<\/p>\n<p>It&#8217;s also worth mentioning that Google favors HTTPS. So, your site will have a higher rank if it uses the up-to-date HTTPS protocol instead of the older HTTP.<\/p>\n<p>If you use the Google Chrome browser, getting an SSL is obligatory. This is part of Google&#8217;s policy of gradually marking all non-HTTPS sites as &#8216;non-secure&#8217;.<\/p>\n<p>Getting an SSL Certificate today is very easy. Most hosting providers today offer free SSL Certificates from <a href=\"https:\/\/reseller-hosting-themes.com\/wordpress\/free-lets-encrypt-ssl-certificates\/\" target=\"_blank\" rel=\"noopener\">Let&#8217;s Encrypt<\/a> or\u00a0Comodo.<\/p>\n<p>If your hosting provider does not offer free SSL Certificates, you can easily get a cheap one from reputable providers like NameCheap or Comodo.<\/p>\n<h2><span id=\"Enable_two-factor_authentication\">Enable two-factor authentication<\/span><\/h2>\n<p>A WordPress two-factor authentication is a great solution if you want a secure WordPress login page. It is used as an addition to the standard username\/password protection for logging in to your WordPress admin area and it works independently.<\/p>\n<p>You type in your credentials and then a passcode that consists of digits will be generated on one of your devices (usually a smartphone). In order to gain access to your site, you need to enter this code as well.<\/p>\n<p>There are numerous two-factor plugins for WordPress based websites on the market today, both free and paid:<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/rublon\/\" target=\"_blank\" rel=\"noopener noreferrer\">Rublon<\/a> &#8211; this plugin offers two-factor authentication for the admin user for free, both by email or via a phone app.<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/authy-two-factor-authentication\/\" target=\"_blank\" rel=\"noopener noreferrer\">Authy<\/a> &#8211; available for free, Authy uses security tokens sent to you by SMS\u00a0or\u00a0phone call. It also offers a dedicated mobile app.<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/two-factor-authentication\/\" target=\"_blank\" rel=\"noopener noreferrer\">Two Factor Authentication<\/a> &#8211; it&#8217;s available for free and\u00a0uses barcode scanning from authenticated devices.<\/p>\n<p><a href=\"https:\/\/codecanyon.net\/item\/5sec-google-authenticator-2step-login-protection\/5778653\" target=\"_blank\" rel=\"noopener noreferrer\">5sec Google Authenticator 2-Step Login Protection<\/a> &#8211; a paid plugin that uses a phone app to generate a special code, required for each login. It&#8217;s main advantage is the dedicated support you will get with your license.<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/miniorange-2-factor-authentication\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google Authenticator \u2013 Two Factor Authentication<\/a> &#8211; available for free, it offers support for all popular methods for two-factor authentication.<\/p>\n<h2><span id=\"Usecaptcha\">Use\u00a0captcha<\/span><\/h2>\n<p>A captcha will help protect the login page against bot attacks, as it requires a special condition to be met along before the login request is even sent to the server for authentication.<\/p>\n<p>There are two ways you can set up a captcha on the login page &#8211; manually or with a plugin. The manual way requires coding and dealing with public and private keys and is generally harder to implement. If you choose to go with a plugin, there are multiple plugins that can be used. Here are two\u00a0of the most popular ones:<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/all-in-one-wp-security-and-firewall\/\">All in One WP Security and Firewall<\/a> &#8211; Aside from setting up a captcha, this plugin also allows for granular control over which IPs can access your website, and the creation of IP whitelists and blacklists.<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/bwp-recaptcha\/\">Better WordPress reCaptcha<\/a> &#8211; This plugin focuses only on adding captcha to your website and offers on other security options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stop hacker attack by creating a secure WordPress login page. We&#8217;ve compiled a list of 7 things you can do to boost the security of your login page.<\/p>\n","protected":false},"author":1,"featured_media":1475,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/posts\/1451"}],"collection":[{"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1451"}],"version-history":[{"count":29,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/posts\/1451\/revisions"}],"predecessor-version":[{"id":1466,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/posts\/1451\/revisions\/1466"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/media\/1475"}],"wp:attachment":[{"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}