Sometimes the WordPress plugin does not behave as expected.


If you are using Wordpress 4.72 or above, you no longer need the WP-Rest plugin as it is included in Wordpress now.


Navigate to this URL in a browser to see if you get a return result:


http://your-wordpress-url.com/wp-json/wp/v2/posts


ERROR 200

If you are pushing articles to Wordpress and it seems to work ok, but no articles are pushed over, you need to deactivate the Rest-API plugin.


ERROR 404 - No route.

If you are seeing this error, you need to update your permalink structure. Go into the Wordpress Permalink settings, select the structure you want and click save settings.


ERROR Cannot create route.

From time to time WordPress overwrites the .HTACCESS file and the permissions required to write tghe articles is lost.


Edit the .HTACCESS and ensure that the following two lines are there EXACTLY AS DISPLAYED, underneath the line "RewriteBase /": (this may include a sub-directory if you site is installed in one)


RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]