Używam poniższej wtyczki Json Rest API.Wordpress JsonAPI -/wp-json/nie został znaleziony na tym serwerze
Aby przetestować wtyczki documentation stany, że należy po prostu użyć:
$ curl -i http://testpress-maxximus.rhcloud.com/wp-json/
HTTP/1.1 404 Not Found
Date: Sat, 24 May 2014 07:01:21 GMT
Server: Apache/2.2.15 (Red Hat)
Content-Length: 303
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /wp-json/ was not found on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at testpress-maxximus.rhcloud.com Port 8
0</address>
</body></html>
Jak widać nic nie zostanie znaleziony przez URL. Wszelkie zalecenia, jeśli występuje problem z API lub wordpress?
cenię swoją odpowiedź
Czy masz włączone [ładne permalinki] (http://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks)? – brasofilo
@brasofilo Thx za odpowiedź! Tak, mam, ( – mrquad