<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: abhrodip paul</title>
    <description>The latest articles on DEV Community by abhrodip paul (@abhrodip_paul_7b1c882d02c).</description>
    <link>https://dev.to/abhrodip_paul_7b1c882d02c</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4133886%2F8b9c238f-4cc1-431b-9a20-dbfc582efb88.png</url>
      <title>DEV Community: abhrodip paul</title>
      <link>https://dev.to/abhrodip_paul_7b1c882d02c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhrodip_paul_7b1c882d02c"/>
    <language>en</language>
    <item>
      <title>If your AI/auto-publishing to WordPress "works then randomly stops," it's your firewall — not the tool</title>
      <dc:creator>abhrodip paul</dc:creator>
      <pubDate>Sun, 20 Sep 2026 08:53:15 +0000</pubDate>
      <link>https://dev.to/abhrodip_paul_7b1c882d02c/if-your-aiauto-publishing-to-wordpress-works-then-randomly-stops-its-your-firewall-not-the-2bhi</link>
      <guid>https://dev.to/abhrodip_paul_7b1c882d02c/if-your-aiauto-publishing-to-wordpress-works-then-randomly-stops-its-your-firewall-not-the-2bhi</guid>
      <description>&lt;p&gt;Lost a week to this, posting in case it saves someone else the headache.&lt;/p&gt;

&lt;p&gt;If you've set up any tool to auto-post to WordPress (an AI writer, Zapier, a custom script) and it "works for a bit then silently stops," you're probably fighting your own security stack, not the tool.&lt;/p&gt;

&lt;p&gt;These tools publish by POSTing to your site's REST API (&lt;code&gt;/wp-json/&lt;/code&gt;). Cloudflare, Wordfence, Sucuri, and most managed-host WAFs see a non-browser hitting &lt;code&gt;/wp-json/&lt;/code&gt; and either challenge it or &lt;code&gt;403&lt;/code&gt; it before WordPress even loads — so posts silently fail to go live.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quick way to tell where it's blocked:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;403 + an HTML "Just a moment…" page / a &lt;code&gt;cf-mitigated&lt;/code&gt; header&lt;/strong&gt; → it's Cloudflare / your WAF.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A JSON error like &lt;code&gt;rest_login_required&lt;/code&gt; or &lt;code&gt;rest_cannot_create&lt;/code&gt;&lt;/strong&gt; → the request reached WordPress; it's a security plugin or a permissions/application-password issue. (Also: Application Passwords silently break if the site isn't on HTTPS.)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The trap everyone falls into: whitelist the tool's IP or add a WAF exception for &lt;code&gt;/wp-json/&lt;/code&gt;. Works for a day, then IPs rotate or a plugin update resets it — back to a dead blog. Whack-a-mole.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What actually fixed it for me:&lt;/strong&gt; stop pushing &lt;em&gt;into&lt;/em&gt; WordPress from outside. Have something that runs &lt;em&gt;inside&lt;/em&gt; the site pull the content on a schedule (a small plugin that executes as a normal WordPress request). The firewall never sees an inbound write, so there's nothing to block — it works behind Cloudflare/Sucuri/Wordfence with no whitelisting and no weakening your security.&lt;/p&gt;

&lt;p&gt;Happy to go deeper on the diagnosis if anyone's stuck.&lt;/p&gt;

</description>
      <category>wordpress</category>
    </item>
  </channel>
</rss>
