<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[REST API goes 404 in 6.6.1 version]]></title><description><![CDATA[<p dir="auto">Hello folks,</p>
<p dir="auto">I just created a website for a new project of mine where I need to use the REST API to post on a fresh Wordpress instance.</p>
<p dir="auto">I installed Wordpress Dev, but if I go to <a href="https://SITEURL/wp-json/wp/v2/posts" target="_blank" rel="noopener noreferrer nofollow ugc">https://SITEURL/wp-json/wp/v2/posts</a> it gives an ugly 404 error as shown</p>
<p dir="auto"><img src="/assets/uploads/files/1723402623948-ac88bb21-556d-4048-90d2-75baa4b5103c-cleanshot-2024-08-11-at-14.50.34-2x-resized.png" alt="ac88bb21-556d-4048-90d2-75baa4b5103c-CleanShot 2024-08-11 at 14.50.34@2x.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">I tried with other WP installs I have and this is the only one that gives 404. I re-installed 6.6.1 and still the same error.</p>
<p dir="auto">I gave up trying to understand what is going on. Any hint?</p>
]]></description><link>https://forum.cloudron.io/topic/12271/rest-api-goes-404-in-6-6-1-version</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 04:31:58 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/12271.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Aug 2024 18:55:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to REST API goes 404 in 6.6.1 version on Mon, 12 Aug 2024 14:30:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chetbaker" aria-label="Profile: chetbaker">@<bdi>chetbaker</bdi></a> I couldn't figure how these two are related i.e API and permalinks... Do you know?</p>
]]></description><link>https://forum.cloudron.io/post/92641</link><guid isPermaLink="true">https://forum.cloudron.io/post/92641</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Mon, 12 Aug 2024 14:30:32 GMT</pubDate></item><item><title><![CDATA[Reply to REST API goes 404 in 6.6.1 version on Mon, 12 Aug 2024 14:27:34 GMT]]></title><description><![CDATA[<p dir="auto">oh you are right. Thanks!</p>
]]></description><link>https://forum.cloudron.io/post/92639</link><guid isPermaLink="true">https://forum.cloudron.io/post/92639</guid><dc:creator><![CDATA[chetbaker]]></dc:creator><pubDate>Mon, 12 Aug 2024 14:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to REST API goes 404 in 6.6.1 version on Mon, 12 Aug 2024 14:19:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chetbaker" aria-label="Profile: chetbaker">@<bdi>chetbaker</bdi></a> it should <em>not</em> be on Plain . Choose something else and it will work.</p>
]]></description><link>https://forum.cloudron.io/post/92638</link><guid isPermaLink="true">https://forum.cloudron.io/post/92638</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Mon, 12 Aug 2024 14:19:43 GMT</pubDate></item><item><title><![CDATA[Reply to REST API goes 404 in 6.6.1 version on Mon, 12 Aug 2024 13:13:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> Yeah, I also checked that. This is a fresh install and I double check the permalink setting and it's on Plain. Still 404. (I also checked <code>/index.php/wp-json/wp/v2/posts</code> and also goes 404).</p>
]]></description><link>https://forum.cloudron.io/post/92635</link><guid isPermaLink="true">https://forum.cloudron.io/post/92635</guid><dc:creator><![CDATA[chetbaker]]></dc:creator><pubDate>Mon, 12 Aug 2024 13:13:19 GMT</pubDate></item><item><title><![CDATA[Reply to REST API goes 404 in 6.6.1 version on Mon, 12 Aug 2024 11:06:07 GMT]]></title><description><![CDATA[<p dir="auto">I think you have to enable permalinks aka "rewrite structure" in wordpress. See <a href="https://stackoverflow.com/questions/49858884/wordpress-rest-api-returning-404" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/49858884/wordpress-rest-api-returning-404</a>  . Settings -&gt; Permalink in WP.</p>
]]></description><link>https://forum.cloudron.io/post/92630</link><guid isPermaLink="true">https://forum.cloudron.io/post/92630</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Mon, 12 Aug 2024 11:06:07 GMT</pubDate></item></channel></rss>