{"id":241,"date":"2016-09-19T11:17:28","date_gmt":"2016-09-19T11:17:28","guid":{"rendered":"https:\/\/hostduplex.com\/kb\/?p=241"},"modified":"2016-09-19T11:17:28","modified_gmt":"2016-09-19T11:17:28","slug":"how-to-protect-your-htaccess-file-2","status":"publish","type":"post","link":"https:\/\/www.hostduplex.com\/kb\/how-to-protect-your-htaccess-file-2\/","title":{"rendered":"How to protect your .htaccess file?"},"content":{"rendered":"<p><span style=\"font-size: medium;\">For security purposes, we recommend you to prevent access to your .htaccess file from unauthorized access.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: medium;\">Add this code to your .htaccess file:<\/span><\/p>\n<pre class=\"language-markup\"><code># .htaccess protection\n\norder allow, deny\ndeny from all\nsatisfy all<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>For security purposes, we recommend you to prevent access to your .htaccess file from unauthorized access. &nbsp; Add this code to your .htaccess file: # .htaccess protection order allow, deny deny from all satisfy all<\/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-241","post","type-post","status-publish","format-standard","hentry","category-security-cpanel"],"_links":{"self":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/posts\/241","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=241"}],"version-history":[{"count":0,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/posts\/241\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/media?parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/categories?post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/tags?post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}