{"id":1010,"date":"2012-09-20T10:16:52","date_gmt":"2012-09-20T09:16:52","guid":{"rendered":"https:\/\/myworldofit.net\/?p=1010"},"modified":"2012-09-20T10:17:46","modified_gmt":"2012-09-20T09:17:46","slug":"wordpress-you-dont-have-permission-to-access-wp-adminadmin-php-on-this-server","status":"publish","type":"post","link":"https:\/\/myworldofit.net\/?p=1010","title":{"rendered":"WordPress &#8211; You don&#8217;t have permission to access \/wp-admin\/admin.php on this server."},"content":{"rendered":"<p style=\"text-align: center;\"><a href=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/wp-adminerror.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-1011\" title=\"You don't have permission to access \/wp-admin\/admin.php on this server.\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/wp-adminerror.jpg\" alt=\"\" width=\"582\" height=\"183\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/wp-adminerror.jpg 727w, https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/wp-adminerror-300x94.jpg 300w\" sizes=\"auto, (max-width: 582px) 100vw, 582px\" \/><\/a><\/p>\n<p>A few days ago a interesting problem cropped up with a WordPress website that I maintain for a 3rd party, the error occurred every time I tried up upload a file to the site using the fantastic <a href=\"http:\/\/lesterchan.net\/portfolio\/programming\/php\/\">WP-DownloadManager<\/a> plugin and was saying&#8230;<\/p>\n<blockquote><p>Forbidden<\/p>\n<p>You don&#8217;t have permission to access \/wp-admin\/admin.php on this server.<\/p><\/blockquote>\n<p>After trying a few possible solutions .htaccess\u00a0(all of which did nothing) I eventually emailed the <a href=\"https:\/\/myworldofit.net\/?p=87\">fantastic guys at UKWSD<\/a> (website hosting company I use) who found that the problem was being caused by something called Mod_Security.<\/p>\n<p>They turned off this feature and lone behold all is working fine again<\/p>\n<p><a href=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/bangandtheerrorisgone.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1013 alignnone\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/bangandtheerrorisgone.jpg\" alt=\"\" width=\"496\" height=\"127\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/bangandtheerrorisgone.jpg 709w, https:\/\/myworldofit.net\/wp-content\/uploads\/2012\/09\/bangandtheerrorisgone-300x76.jpg 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/a><\/p>\n<p>After looking at all the grief that this error has caused others on the web I would strongly suggest that you spend no more than\u00a0a few minutes mucking around with your .htaccess file before calling your web host and getting them to fix it for you \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few days ago a interesting problem cropped up with a WordPress website that I maintain for a 3rd party, the error occurred every time I tried up upload a file to the site using the fantastic WP-DownloadManager plugin and was saying&#8230; Forbidden You don&#8217;t have permission to access \/wp-admin\/admin.php on this server. After trying a few possible solutions .htaccess\u00a0(all&#8230; <a class=\"read-more\" href=\"https:\/\/myworldofit.net\/?p=1010\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[20],"tags":[37,38,34,140],"series":[],"class_list":["post-1010","post","type-post","status-publish","format-standard","hentry","category-software","tag-uk-web-solutions-direct","tag-ukwsd","tag-web-host","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/1010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1010"}],"version-history":[{"count":3,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/1010\/revisions"}],"predecessor-version":[{"id":1015,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/1010\/revisions\/1015"}],"wp:attachment":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1010"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=1010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}