Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter sitemba

    (@sitemba)

    @edbatbaz81 Mine didn’t work either even after adding the bearer token to the request. On further inspection, I found that the problem was in my .htaccess file. Try changing yours to this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule ^(.*) – [E=HTTP_AUTHORIZATION:%1]
    </IfModule>
    SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
    # END WordPress

Viewing 1 replies (of 1 total)