I am losing customers and money every day due to this issue. I have tried htaccess rewrites and folder persmission changes. I have tried everything under the sun. Please help me get rid of this issue. Each time my customers click Add To card on the WordProess/WooCommerce site, I get these errors.
POST https://www.example.com/wc?-ajax=update_order_review 403 ()
POST https://www.example.com/wp-admin/admin-ajax.php 403 ()
I don't care if you give me some HTACCESS file or something that unlocks the folders to the entire planet, please help me fix these errors or I will lose all my customers.
Thanks.
答案 0 :(得分:0)
我有类似的问题。对我而言,它是由ModSecurity引起的。我通过turnig ModSecurity来修复它。我登录到cPanel,点击“ModSecurity”并将其关闭为我的域名。我不知道这对你的案子是否有帮助,但这就是我所做的。
答案 1 :(得分:0)
您可以尝试在.htaccess文件中添加:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>