403 ERROR, forbidden access. | WordPress.org

[ad_1]

Hello @msedighiyan86

The issue you report is usually related to false positives in third-party plugins like Wordfence when the form contains script blocks of code.

Please send me the link to the page that contains the form you cannot edit to check its structure.

Best regards.

Thread Starter
Mohsen

(@msedighiyan86)

For example, this page: https://alo-diet.ir/13908-2/

Hello @msedighiyan86

The URL provided loads a blank page from the cache generated by the “LiteSpeed Cache” plugin.

Could you please indicate the form ID?

Best regards.

Thread Starter
Mohsen

(@msedighiyan86)

This is the form Shortcode: [CP_CALCULATED_FIELDS id=”75″]

Thread Starter
Mohsen

(@msedighiyan86)

Hello @msedighiyan86

To check if the issue is caused by a false positive related to WordFence, or server rules, please remove the script blocks of code from the fieldname59 and fieldname66 fields’ content attributes and try to save the modifications.

Best regards.

Thread Starter
Mohsen

(@msedighiyan86)

After deleting fields 59 and 66, I try to save the changes, but I still get a 403 error and the changes are not saved.
The script of these two fields:
Field 59:

<script>fbuilderjQuery(document).one('showHideDepEvent', function(){ jQuery('#fbuilder .pb0 .pbNext').text('Analyze');} );</script>

Field 66:

  <script type="text/javascript">
        if (document.addEventListener) {
            document.addEventListener('contextmenu', function (e) {
                e.preventDefault();
            }, false);
        } else {
            document.attachEvent('oncontextmenu', function () {
                window.event.returnValue = false;
            });
        }
    </script>

I also disabled the plugins that I updated recently. Again, I get error 403 when saving this form.

Hello @msedighiyan86

If you can modify your other forms but not this specific form, and you deactivate the other plugins on your WordPress, there is a server rule that generates a false-positive and blocks the save changes action.

Unfortunately, the process of identifying its cause is not easy. It could be a field label, an equation, or a simple combination of characters. The majority of these regulations rely on regular expressions.

One way to troubleshoot an issue where the server is blocking the save changes is to duplicate the current form to preserve its structure. Then, you can systematically delete fields from the duplicated form until you identify the field that is causing the issue. This process helps to isolate the problematic field and find a solution.

However, if you contact your hosting provider, I am pretty sure they will be able to adjust the server rules to allow you to save the form modifications.

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer