• Resolved K3on

    (@0xk3on)


    I had thousands of error msgs in my log file, caused by trp-ajax.php flooding the server log.

    For those seeking for the solution:

    Go to TranslatePress Advanced Settings > Disable dynamic translation and check mark “Yes”

    This problem looks like a very old issue and needs to be fixed.

    AH01797: client denied by server configuration: /wp-content/plugins/translatepress-multilingual/includes/trp-ajax.php

    • This topic was modified 1 year, 7 months ago by K3on.
Viewing 1 replies (of 1 total)
  • Plugin Support Anca

    (@ancavictoria)

    Hello there,

    The TranslatePress trp-ajax.php file might be blocked by a security plugin such as WordFence or host configuration. Try to disable such security plugins or ask your host about this issue.

    It’s also possible that your host server configuration doesn’t allow TranslatePress to perform a direct database connection. In this case, install this plugin to switch to a WordPress native approach. The only drawback is that on some large websites it can be a bit slower to translate front-end dynamic texts. https://translatepress.com/download/1151690/

    The issue can also be caused by a repeated detection of the same front-end string displayed using JavaScript. In this case you should notice numerous trp-ajax.php calls (20+) in the browser console under Network tab. To solve this, identify the html node that contains that overdetected text and use TP Advanced Settings option Exclude from dynamic translation to input the JS/CSS selector for that node.
    Another approach to the same issue would be to install this plugin which reduces the number of allowed detection of the same dynamic string to a lower number: https://translatepress.com/download/1151694/

    Best Regards,

    Anca

Viewing 1 replies (of 1 total)
  • The topic ‘trp-ajax.php AH01797: client denied by server configuration’ is closed to new replies.