Keywords: WordPress Multisite - AWS - Technical issue - Permissions
bnsupport ID: 4249f425-00b7-7c36-3d49-53fa00914387
Description:
I have added the review widget judge.me on my site but the review is not showing. I added a test review, and can see it on the judge.me site and it says published, but it is not showing on my site.
I contacted support for the plugin and they had this response:
"It seems that our plugin is having problems to access your shop, this probably explains why the reviews are not updating.
Could you please check with your host or firewall about this error that we’re receiving?:
Response: 401
{“status”:”error”,”error”:”MISSING_AUTHORIZATION_HEADER”,”error_description”:”Authorization header not received. Either authorization header was not sent or it was removed by your server due to security reasons.”}
You should make sure that our access is whitelisted from this root:
https://speedstix.com/wp-json/judgeme/v1/*"
I had a similar issue that was resolved for some custom code:
So I did the same thing and added the below section to htaccess:
<Directory /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/judgeme-product-reviews-woocommerce/>
AllowOverride All
Options FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.)
RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
But this did not work.
I can’t find any physical directory on the server called “wp-json”.
Any idea what I need to do get get permissions to work correctly?