{"id":243,"date":"2016-09-19T11:16:40","date_gmt":"2016-09-19T11:16:40","guid":{"rendered":"https:\/\/hostduplex.com\/kb\/?p=243"},"modified":"2016-09-19T11:16:40","modified_gmt":"2016-09-19T11:16:40","slug":"how-to-ban-any-ip-address-via-htaccess-2","status":"publish","type":"post","link":"https:\/\/www.hostduplex.com\/kb\/how-to-ban-any-ip-address-via-htaccess-2\/","title":{"rendered":"How to ban any IP Address via .htaccess?"},"content":{"rendered":"<p><span style=\"font-size: medium;\">If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file.<\/span><\/p>\n<pre class=\"language-markup\"><code>order allow, deny\ndeny from IP-ADDRESS\nallow from all\n<\/code><\/pre>\n<p><span style=\"font-size: medium;\">Replace &#8220;<strong>IP-ADDRESS<\/strong>&#8221; with the IP Address you want to block.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file. order allow, deny deny from IP-ADDRESS allow from all Replace &#8220;IP-ADDRESS&#8221; with the IP Address you want to block.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[83],"tags":[],"class_list":["post-243","post","type-post","status-publish","format-standard","hentry","category-security-cpanel"],"_links":{"self":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":0,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}