{"id":3393,"date":"2018-11-20T12:00:15","date_gmt":"2018-11-20T08:30:15","guid":{"rendered":"http:\/\/webide.ir\/blog\/?p=3393"},"modified":"2018-11-19T11:24:02","modified_gmt":"2018-11-19T07:54:02","slug":"how-to-disable-php-execution-in-certain-wordpress-directories","status":"publish","type":"post","link":"https:\/\/webide.ir\/blog\/how-to-disable-php-execution-in-certain-wordpress-directories","title":{"rendered":"\u0686\u06af\u0648\u0646\u0647 \u0627\u062c\u0631\u0627\u06cc PHP \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0647\u0627\u06cc \u062e\u0627\u0635 \u0648\u0631\u062f\u067e\u0631\u0633 \u0631\u0627 \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u0645\u061f"},"content":{"rendered":"<p>\u062a\u062c\u0631\u0628\u0647 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u0628\u06cc\u0634\u062a\u0631 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633\u06cc \u06a9\u0647 \u0647\u06a9 \u0645\u06cc \u0634\u0648\u0646\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0641\u0648\u0644\u062f\u0631\/wp-includes\/ \u0648\u00a0 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc wp-content\/uploads\/ \u0631\u0627 \u0628\u0627\u0632 \u06af\u0630\u0627\u0634\u062a\u0647 \u0627\u0646\u062f. \u0645\u0639\u0645\u0648\u0644\u0627 \u0627\u06cc\u0646 \u0647\u0627 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc PHP \u0647\u0633\u062a\u0646\u062f \u06a9\u0647\u00a0 \u0634\u0628\u06cc\u0647 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0647\u0633\u062a\u0647 \u0648\u0631\u062f\u067e\u0631\u0633 \u0627\u0646\u062f \u0627\u0645\u0627 \u062f\u0631 \u0648\u0627\u0642\u0639 \u0686\u0646\u06cc\u0646 \u0646\u06cc\u0633\u062a\u0646\u062f. \u06cc\u06a9\u06cc \u0627\u0632 \u06af\u0627\u0645 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u0628\u0647\u0628\u0648\u062f \u0627\u0645\u0646\u06cc\u062a \u0633\u0627\u06cc\u062a \u0648\u0631\u062f\u067e\u0631\u0633\u06cc \u062a\u0627\u0646 \u0628\u0631\u062f\u0627\u0631\u06cc\u062f \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u062c\u0631\u0627\u06cc PHP \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0647\u0627\u06cc \u062e\u0627\u0635 \u0648\u0631\u062f\u067e\u0631\u0633 \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0634\u0645\u0627 \u0646\u0634\u0627\u0646 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f \u0686\u06af\u0648\u0646\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0641\u0627\u06cc\u0644 .htaccess \u0628\u0631\u0627\u06cc \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u062c\u0631\u0627\u06cc PHP \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0647\u0627\u06cc \u062e\u0627\u0635 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u067e\u0633 \u0647\u0645\u0631\u0627\u0647 \u0648\u0628 \u0627\u06cc\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n<p><!--more--><\/p>\n<p>\u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u062e\u0627\u0644\u06cc \u062f\u0631 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u0645\u062a\u0646 \u0645\u062f\u0646\u0638\u0631 \u062e\u0648\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u0646\u0627\u0645 \u0622\u0646 \u0631\u0627 <strong>.htaccess<\/strong>\u00a0 \u0628\u06af\u0630\u0627\u0631\u06cc\u062f \u0648 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0622\u0646 \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">&lt;Files *.php&gt;\r\n\r\ndeny from all\r\n\r\n&lt;\/Files&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u062f\u0631 \u0641\u0648\u0644\u062f\u0631 \/wp-content\/uploads\/ \u0622\u067e\u0644\u0648\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f. \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0631 \u0641\u0648\u0644\u062f\u0631 \/wp-includes\/ \u0647\u0645 \u0622\u067e\u0644\u0648\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f. \u0627\u06cc\u0646 \u06a9\u062f \u0647\u0631 \u06af\u0648\u0646\u0647 \u0641\u0627\u06cc\u0644 PHP \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc \u06a9\u0646\u062f \u0648 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0622\u0646 \u0631\u0627 \u0645\u062d\u062f\u0648\u062f \u0645\u06cc \u0633\u0627\u0632\u062f. \u0628\u0647 \u062e\u0627\u0637\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0631\u0648\u0634\u06cc \u0628\u0631\u0627\u06cc \u0628\u0631\u0637\u0631\u0641 \u06a9\u0631\u062f\u0646 \u0645\u0634\u06a9\u0644\u0627\u062a \u0647\u06a9 \u0634\u062f\u0646 \u0633\u0627\u06cc\u062a \u0646\u06cc\u0633\u062a \u0648 \u062a\u0646\u0647\u0627 \u0646\u06a9\u062a\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u0627\u0645\u0646 \u062a\u0631 \u06a9\u0631\u062f\u0646 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633\u06cc \u0627\u0633\u062a.<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;3393&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;1&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;5\\\/5 - (1 \u0627\u0645\u062a\u06cc\u0627\u0632)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u0686\u06af\u0648\u0646\u0647 \u0627\u062c\u0631\u0627\u06cc PHP \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0647\u0627\u06cc \u062e\u0627\u0635 \u0648\u0631\u062f\u067e\u0631\u0633 \u0631\u0627 \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u0645\u061f&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 142.5px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            5\/5 - (1 \u0627\u0645\u062a\u06cc\u0627\u0632)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u062a\u062c\u0631\u0628\u0647 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u0628\u06cc\u0634\u062a\u0631 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633\u06cc \u06a9\u0647 \u0647\u06a9 \u0645\u06cc \u0634\u0648\u0646\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0641\u0648\u0644\u062f\u0631\/wp-includes\/ \u0648\u00a0 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc wp-content\/uploads\/ \u0631\u0627 \u0628\u0627\u0632 \u06af\u0630\u0627\u0634\u062a\u0647 \u0627\u0646\u062f. \u0645\u0639\u0645\u0648\u0644\u0627 \u0627\u06cc\u0646 \u0647\u0627 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc PHP \u0647\u0633\u062a\u0646\u062f \u06a9\u0647\u00a0 \u0634\u0628\u06cc\u0647 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0647\u0633\u062a\u0647 \u0648\u0631\u062f\u067e\u0631\u0633 \u0627\u0646\u062f \u0627\u0645\u0627 \u062f\u0631 \u0648\u0627\u0642\u0639 \u0686\u0646\u06cc\u0646 \u0646\u06cc\u0633\u062a\u0646\u062f. \u06cc\u06a9\u06cc \u0627\u0632 \u06af\u0627\u0645 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u0628\u0647\u0628\u0648\u062f \u0627\u0645\u0646\u06cc\u062a &hellip;<\/p>\n","protected":false},"author":8,"featured_media":3394,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,605],"tags":[2627,2629,2628,2630],"class_list":["post-3393","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-articles","category-wp","tag--php","tag--php---","tag-2628","tag----php"],"jetpack_featured_media_url":"https:\/\/webide.ir\/blog\/wp-content\/uploads\/2018\/11\/disable-php-execution.png","views":"138","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/parry3-SJ","_links":{"self":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/comments?post=3393"}],"version-history":[{"count":1,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3393\/revisions"}],"predecessor-version":[{"id":3395,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3393\/revisions\/3395"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media\/3394"}],"wp:attachment":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media?parent=3393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/categories?post=3393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/tags?post=3393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}