I get error 'Please check the URL or wordpress site permalink or Invalid Token while testing the connection on the Moodle end.
Please check in the Moodle Edwiser Bridge settings if the Wordpress URL is exactly the same as your Wordpress Site URL.
Important - Please ensure that you have the latest Edwiser Bridge plugin installed on Moodle as well as on the WordPress site.
Visit your Wordpress site. In the Wordpress site go to 'settings --> Permalink'. In Permalinks, please check if the selected permalink is 'Post name'
Check if you have any security plugins in WordPress which are blocking the API requests. If yes, then test the connection by disabling those plugins or by white-listing your Moodle IP in the WordPress security plugin.
If you have any middleware used for caching like Cloudflare, then please allow requests from the Moodle IP or add page rule for this URL: siteurl/wp-json/edwiser-bridge
If you have any Test Moodle site, then check 'Test connection' with the WordPress site. If it works, then your WordPress site is blocking some requests, please Whitelist IP in the server.
If you are using the Wordfence Security plugin, then Whitelist Moodle IP address in the plugin setting
While you copy-paste the token, please check if it added extra space to it or not. If there is an extra white space to the start or end, then remove it.
Create a new web service on the Moodle site, replace the newly generated access token on Moodle and on the WordPress site. Again ensure there is no white space in the access token field save changes on both the sites.
Test the connection on WordPress and then on Moodle. If this does not resolve the issue, contact us.
Did this answer your question?Thanks for the feedbackThere was a problem submitting your feedback. Please try again later.