ClipAI - Knowledge Base (FAQ)
< All topics

"Error 401" when publishing on WordPress

If you are absolutely sure that did everything right, but error 401 appears, The problem is in the server configuration. Try one of the following solutions:

1. Open the .htaccess file using the built-in file manager on your hosting or via FTP, and add the line:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

If that doesn't help, try adding these lines:

RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]

2. Check whether you can switch between Apache and Nginx on your hosting, and whether you can change the PHP version. Try changing these settings.