Hello,
We are experiencing an issue on our WordPress website using the Newspaper theme together with Cloudflare.
Every time we publish a news article, Cloudflare shows a CAPTCHA challenge before the publishing process can be completed. If we do not complete the CAPTCHA, the article is not published. The same thing also happens quite often when saving a draft.
The main problem is that we are currently unable to upload images properly. It looks like Cloudflare is blocking the upload process, but in this case no CAPTCHA is shown, so we have no way to complete the challenge. The only workaround we have found is to save a draft of any article, wait for the Cloudflare CAPTCHA to appear, complete it, and then our computer seems to be temporarily “authorized”. After that, we can publish articles, upload images and make other important changes for a while.
This issue also affects some Newspaper theme features. For example, the infinite scroll option, which loads more articles when scrolling, does not work unless the Cloudflare CAPTCHA has already been completed. The same happens with some news modules that load more posts or paginate results using AJAX.
This is especially important because the infinite scroll and AJAX loading issue affects 100% of our users. Visitors never see the Cloudflare CAPTCHA challenge, so they cannot complete it. As a result, they are unable to load more articles in any of the Newspaper theme “flex” modules that rely on AJAX loading or pagination. The module simply keeps loading forever, showing the spinning icon, but no additional content is loaded.
So the issue seems to be that Cloudflare is challenging or blocking some WordPress/Newspaper AJAX requests or admin actions, but in some cases the CAPTCHA is not displayed to the user, which makes the action impossible to complete.
Could you please help us identify which Newspaper theme AJAX requests, endpoints, scripts or WordPress actions should be excluded or whitelisted in Cloudflare so that features such as infinite scroll, AJAX pagination, image uploads, post publishing and the “flex” modules work correctly?
We would also appreciate any recommended Cloudflare configuration for the Newspaper theme, especially regarding:
* WordPress admin actions
* Media uploads
* admin-ajax.php requests
* Newspaper infinite scroll
* Newspaper AJAX pagination and post loading modules
* Newspaper “flex” modules that load more posts through AJAX
* Any theme-specific AJAX endpoints that should not be challenged by Cloudflare
Thank you.
HI,
Maybe it happens because of the bot fight mode, is it enabled in cloudflare? If so, I suggest disabling it temporarily to see if it still happens https://developers.cloudflare.com/bots/get-started/bot-fight-mode/
I see that while I’m browsing your website normally, I’m being blocked sometimes https://prnt.sc/hQXMybujAehe
If the bot fight mode isn’t the cause, then it must be something else from the Security tab in the cloudflare dashboard. I suggest checking the security events log to see if you can find legitimate actions that were blocked, the reason should appear there.
Let me know if you find something.
Thank you!