{"id":978,"date":"2024-02-21T14:36:14","date_gmt":"2024-02-21T14:36:14","guid":{"rendered":"https:\/\/imagify.io\/documentation\/?p=978"},"modified":"2025-12-02T11:30:22","modified_gmt":"2025-12-02T11:30:22","slug":"403-forbidden-error","status":"publish","type":"post","link":"https:\/\/imagify.io\/documentation\/403-forbidden-error\/","title":{"rendered":"403 Forbidden error"},"content":{"rendered":"\n<p>If you are experiencing blocked $_POST requests through our <a href=\"https:\/\/github.com\/wp-media\/imagify-helpers\/raw\/master\/various\/imagify-tools\/imagify-tools.zip\" target=\"_blank\" rel=\"noopener\">Imagify Tools helper plugin<\/a> (Info page) with the error &#8220;403 Forbidden&#8221; like in the following screenshot:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"225\" src=\"https:\/\/imagify.io\/documentation\/wp-content\/uploads\/2024\/02\/403-Forbidden-error-1024x225.png\" alt=\"\" class=\"wp-image-979\" srcset=\"https:\/\/imagify.io\/documentation\/wp-content\/uploads\/2024\/02\/403-Forbidden-error-1024x225.png 1024w, https:\/\/imagify.io\/documentation\/wp-content\/uploads\/2024\/02\/403-Forbidden-error-300x66.png 300w, https:\/\/imagify.io\/documentation\/wp-content\/uploads\/2024\/02\/403-Forbidden-error-768x168.png 768w, https:\/\/imagify.io\/documentation\/wp-content\/uploads\/2024\/02\/403-Forbidden-error-1536x337.png 1536w, https:\/\/imagify.io\/documentation\/wp-content\/uploads\/2024\/02\/403-Forbidden-error.png 1714w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>this means that your server is for some reason blocking the requests needed between your server and ours for optimization to happen.<\/p>\n\n\n\n<p>What you can do to solve the issue:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can try to add the following to your wp-config.php file (before the &#8220;That&#8217;s all! Stop editing\u2026&#8221; message) to increase the amount of memory and time available for image optimization (this can be a larger number if your host\/server will allow):<\/li>\n<\/ul>\n\n\n\n<p>        define( &#8216;WP_MEMORY_LIMIT&#8217;, &#8216;256M&#8217; );<br>        set_time_limit(0);<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It might be best to check if your server firewall or any other security settings could be blocking requests to or from our IP address and\/or domain (and if so, try to whitelist them):<\/li>\n<\/ul>\n\n\n\n<p>46.30.211.203<br>46.30.212.204<br>46.30.212.205<br>46.30.212.206<br>46.30.212.207<\/p>\n\n\n\n<p> https:\/\/app.imagify.io<\/p>\n\n\n\n<p>If the above does not resolve your issue it might be best to contact your host provider so they can provide any further insights about the blocked requests and if possible unblock them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are experiencing blocked $_POST requests through our Imagify Tools helper plugin (Info page) with the error &#8220;403 Forbidden&#8221; like in the following screenshot: this means that your server is for some reason blocking the requests needed between your server and ours for optimization to happen. What you can do to solve the issue: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-978","post","type-post","status-publish","format-standard","hentry","category-image-optimization"],"_links":{"self":[{"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/posts\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":3,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/posts\/978\/revisions"}],"predecessor-version":[{"id":1192,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/posts\/978\/revisions\/1192"}],"wp:attachment":[{"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/media?parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/categories?post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/tags?post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}