406 on save settings

#1008283
  • Resolved Rajdeep Das
    Rank Math free

    Getting

    Error 406 – Not Acceptable
    Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.

    on clicking save changes in rankmath. what to do?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    We apologize for the issue you are facing with the 406 error when trying to save settings in Rank Math. This error is often caused by ModSecurity blocking the request. Here are some steps you can take to resolve this:

    1. Contact Your Hosting Provider: Reach out to your hosting provider and inform them about the 406 error. Ask them to check if ModSecurity is blocking requests from Rank Math and request them to disable it temporarily.

    2. Save Your Settings: Once ModSecurity is disabled, try saving your settings in Rank Math again.

    3. Re-enable ModSecurity: After successfully saving your settings, make sure to ask your hosting provider to re-enable ModSecurity for the security of your site.

    If you continue to experience issues after following these steps, please reply to this ticket with your site URL, and a human agent from our support team will assist you further. Thank you for raising this concern!

    Sources:
    Why Rank Math Settings Are Not Getting Saved? » Rank Math

    Hello,

    Please check if your website has the ModSec(ModSecurity) feature enabled in your server, as it can block the saving module from Rank Math. You can get in touch with your web host for assistance with this process.

    If so, you can disable that and check if the issue still persists on your site. If it does, this suggests that the rules that have been set are blocking the requests from our plugin.

    Looking forward to helping you.

    Below are the rules that were being triggered and have since been disabled:

    980130
    949110
    933120
    921110

    It is the reply by my hosting provider.

    Disabling the rules will cause any security issue?

    Hello,

    The rules your host disabled are part of ModSecurity’s generic protection. Disabling a few specific rules usually doesn’t cause major security issues, especially if done carefully and only for trusted plugins like Rank Math.

    However, for peace of mind, you can ask your host if they can disable those rules only for admin-ajax.php or the specific Rank Math paths instead of doing so globally.

    Don’t hesitate to get in touch with us if you have any other questions.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘406 on save settings’ is closed to new replies.