No route was found matching the URL and request method
-
I have followed every instructions to activate JWT on my server i keep getting this error
{"code":"rest_no_route","message":"No route was found matching the URL and request method","data":{"status":404}}
For the record here is my .httaccess code
# BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <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
my wp-config
define('JWT_AUTH_SECRET_KEY', 'your-top-secret-key'); // Replace 'your-top-secret-key' with an actual secret key. define('JWT_AUTH_CORS_ENABLE', true); /* That's all, stop editing! Happy publishing. */
Plugin has been activated.
My Website: https://www.foodsmart.com.ng
I need your assistance urgently.
- This topic was modified 4 years, 5 months ago by .
- This topic was modified 4 years, 5 months ago by .
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘No route was found matching the URL and request method’ is closed to new replies.