Simple REST call not working in WP 5.02
-
I did a vanilla install of WP 5, but REST calls are not working.
This URL:
<site_URL>/wp-json/wp/v2/posts/
Gives me:
The requested URL /wp-json/wp/v2/posts/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
———–
Here’s the .htaccess file in the public_HTML directory:IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName <SITE_URL_HERE>—
I tried to contact my hosting company but they told me to contact the developer (which, of course is me, LOL). No help there.
Thanks in advance,
M
- The topic ‘Simple REST call not working in WP 5.02’ is closed to new replies.