{"id":1615,"date":"2022-01-04T08:16:35","date_gmt":"2022-01-04T08:16:35","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=1615"},"modified":"2022-01-04T12:36:32","modified_gmt":"2022-01-04T12:36:32","slug":"how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/","title":{"rendered":"How To Restrict Access To WP-Admin For Preventing Malicious Attacks?"},"content":{"rendered":"<p>While the internet is a nice platform for establishing a powerful on-line identity it also brings plenty of perils. Some time ago, people have witnessed one among the most important DDos attacks within the history of web. we tend to also heard about the WordPress web site being targeted by the hackers. These items bring forth insecurity within the minds of the many web site ownerswho run their websites with the WordPress CMS.<\/p>\n<p>WordPress is one among the foremost popular content management systems that&#8217;s used for web site \/ blog creation. Approximately, 17% of the websites are supercharged by WordPress these days. This has offered a bigger platform for the people with dangerous intentions to plan activities like DDoS attacks and web site hacking.<\/p>\n<p>How are you able to safeguard your WordPress web site against the hackers making an attempt to crack into your WordPress login credentials?<\/p>\n<p><strong><em>There are some ways so as to strengthen the security of your WordPress web site. Here is an insight on the foremost crucial ways:<\/em><\/strong><\/p>\n<p>You can use a plugin called \u2018Limit Login Attempts\u2019 that limits the number of login tries made to your web site. This plugin permits you to set a most limit of unsuccessful login attempts from any specific IP and intimates you about the failed attempts. During this method you&#8217;re aware about any malicious activity which may occurs on your web site in the future.<\/p>\n<p>Another technique of eliminating the unauthorized access is by limiting the login access altogether. This will be done by \u2018White listing\u2019 certain IP addresses that are well-known to you and blocking all the other IP addresses.<\/p>\n<h3>Below are the steps that you need to follow:<\/h3>\n<p><strong>Step 1:<\/strong> Navigate to the root of the WordPress installation on the server and find a folder named \u2013 \u2018wp-content\u2019<\/p>\n<p><strong>Step 2 :<\/strong> Edit the .htaccess file by adding the commands given below:<\/p>\n<p>&lt;Directory \/wp-admin &gt;<br \/>\n&lt;files wp-login.php&gt;<br \/>\nAllowOverride None<br \/>\norder deny,allow<br \/>\n# whitelist<br \/>\nallow from xxx.xxx.xxx.xxx (IP 1)<br \/>\nallow from xxx.xxx.xxx.xxx (IP 2)<br \/>\nallow from xxx.xxx.xxx.xxx (IP 3)<br \/>\ndeny from all<br \/>\n&lt;\/files&gt;<br \/>\n&lt;\/Directory&gt;<\/p>\n<blockquote><p>Note : Remove the IP1, IP2 and IP3 from the code. Similarly, you can add as several IP addresses as you want.<\/p><\/blockquote>\n<p>This is a little step that proves to be very useful in terms of the protection of your WordPress web site. With the assistance of this small modification, only the authorized IP addresses will be able to access the WP-Admin page.<\/p>\n<h3>Other necessary tips for safeguarding your WordPress web site \/ blog:<\/h3>\n<ul>\n<li>Use a complicated username that can&#8217;t be considered simply<\/li>\n<li>Use a complicated password, that contains of a combination of numbers, letters in character and graphic symbol and a few special characters. You&#8217;ll be able to also take the help of on-line password generators which will generate a complicated password for you.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>While the internet is a nice platform for establishing a powerful on-line identity it also brings plenty of perils. Some time ago, people have witnessed one among the most important DDos attacks within the history of web. we tend to also heard about the WordPress web site being targeted by the hackers. These items bring [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-1615","post","type-post","status-publish","format-standard","hentry","category-cms-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Restrict Access To WP-Admin For Preventing Malicious Attacks? - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Restrict Access To WP-Admin For Preventing Malicious Attacks? - OWS KB\" \/>\n<meta property=\"og:description\" content=\"While the internet is a nice platform for establishing a powerful on-line identity it also brings plenty of perils. Some time ago, people have witnessed one among the most important DDos attacks within the history of web. we tend to also heard about the WordPress web site being targeted by the hackers. These items bring [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-04T08:16:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-04T12:36:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/\",\"name\":\"How To Restrict Access To WP-Admin For Preventing Malicious Attacks? - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2022-01-04T08:16:35+00:00\",\"dateModified\":\"2022-01-04T12:36:32+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-restrict-access-to-wp-admin-for-preventing-malicious-attacks\/\",\"name\":\"How To Restrict Access To WP-Admin For Preventing Malicious Attacks?\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=1615"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1615\/revisions"}],"predecessor-version":[{"id":1616,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1615\/revisions\/1616"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=1615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=1615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=1615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}