jamsta1072
Forum Replies Created
-
Hello all,
I have a workaround solution from Bitnami via their forums. In case anyone else encounters the same issue, here is that thread:
https://community.bitnami.com/t/setting-up-api-access-to-wordpress-on-aws-ec2-instance/60589
Note that Bitnamni have suggested there is a bug in their WordPress stack, which they are looking into.
Jamie.
Some progress on this:
I deactivated the plug-in ‘WP BASIC Auth’ and users can now access the site without being asked to enter a username and password. But my original issue of not being about to create new posts via the API persists.
As things stand, these are my active plug-ins:
-WP htaccess Control
-Application Passwords
-JSON Basic Authentication
-All In One SEO PackRegards
Jamie.Hi all,
Anyone out there able to help me out with this?
I’ve installed the required plugins and updated the .htaccess file. I still cannot post via the REST API, and now things are worse than they were before, because when a user tries to just view the site, they see ‘You need to enter a Username and Password if you want to see this website’. But, my own admin user credentials do not even work in that case. I can still log on to the admin console though. I’m bewildered.Jamie.
Hi Joy and Dan,
Thank you for your input – it’s appreciated. I have now edited the .htaccess file using this plugin:https://ww.wp.xz.cn/plugins/wp-htaccess-control/
However, I’m still getting the same error message when I try to create a new POST via the API (using POSTMAN).
This is beginning to feel a little laboured and convoluted :(. Is there a fully documented, best practice way for enabling full use of the API?
Regards
Jamie.Thank you T-P for your reply.
I’ve taken a look at that thread. The post on 31 March suggests installing and activating the ‘Application Passwords’ plugin, which I’ve now done. It also says to then follow the instructions here: https://github.com/georgestephanis/application-passwords/wiki/Basic-Authorization-Header—-Missing
Those instructions suggest an edit to the ‘htaccess’ file. However, it’s not clear to me how I do that. I’ve found some references to this elsewhere but they allude to other WordPress plugins I’m not able to find, or to using SFTP (and I don’t seem to be able to access my wordpress site via SFTP, having tried with FileZilla).
Is there a best practice way to edit the htaccess file?
Jamie.