Title: Unauthorized
Last modified: October 12, 2020

---

# Unauthorized

 *  Resolved [flyordier36](https://wordpress.org/support/users/flyordier36/)
 * (@flyordier36)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/unauthorized-2/)
 * I have installed the plugin and the extension and I cannot import any product.
   It always comes out that the website is not authorized.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * (@kimvt1991)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13525720)
 * Hi,
 * If you use Apache, please add below lines to .htaccess file:
    RewriteEngine On
   RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* – [e=HTTP_AUTHORIZATION:%
   1]
 * If it does not work, please also add below line:
    SetEnvIf Authorization “(.*)”
   HTTP_AUTHORIZATION=$1
 * If you use Nginx, please ask your host provider for help.
 * Yours Sincerely
 *  [mulonpomm](https://wordpress.org/support/users/mulonpomm/)
 * (@mulonpomm)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13529476)
 * I’m having same problem when trying to import products (red error with text “
   Unauthorized)”. Unfortunately these apache rules didn’t work.
 *  [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * (@kimvt1991)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13537650)
 * [@mulonpomm](https://wordpress.org/support/users/mulonpomm/),
    Maybe it conflicts
   with other rules. Can you make a test by removing all other rules from your Apache
   config file and only keep the above rules?
 *  Thread Starter [flyordier36](https://wordpress.org/support/users/flyordier36/)
 * (@flyordier36)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13543322)
 * Where i should paste the code? I paste a copy of my .htacces. Thank you!
 * # BEGIN WpFastestCache
    # Modified Time: 21-09-20 15:46:01 <IfModule mod_rewrite.
   c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} =on RewriteCond %{HTTP_HOST}
   ^mad4sneakers.com # Start WPFC Exclude # End WPFC Exclude # Start_WPFC_Exclude_Admin_Cookie
   RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=Salvador # End_WPFC_Exclude_Admin_Cookie
   RewriteCond %{HTTP_HOST} ^mad4sneakers.com RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit
   |WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
   RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\
   s*Bot) RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{REQUEST_URI} !(\/){2}
   $ RewriteCond %{REQUEST_URI} ![^\/]+\/$ RewriteCond %{QUERY_STRING} !.+ RewriteCond%{
   HTTP:Cookie} !comment_author_ RewriteCond %{HTTP:Cookie} !safirmobilswitcher=
   mobil RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC] RewriteCond %{DOCUMENT_ROOT}/
   wp-content/cache/all/$1/index.html -f [or] RewriteCond /homepages/36/d843153763/
   htdocs/clickandbuilds/Zapatillasoriginales/wp-content/cache/all/$1/index.html-
   f RewriteRule ^(.*) “/wp-content/cache/all/$1/index.html” [L]
 * </IfModule>
    <FilesMatch “index\.(html|htm)$”> AddDefaultCharset UTF-8 <ifModule
   mod_headers.c> FileETag None Header unset ETag Header set Cache-Control “max-
   age=0, no-cache, no-store, must-revalidate” Header set Pragma “no-cache” Header
   set Expires “Mon, 29 Oct 1923 20:30:00 GMT” </ifModule> </FilesMatch> # END WpFastestCache#
   BEGIN GzipWpFastestCache <IfModule mod_deflate.c> AddType x-font/woff .woff AddType
   x-font/ttf .ttf AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType
   DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType
   DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType
   DEFLATE text/javascript AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType
   DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml
   AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE
   application/x-javascript AddOutputFilterByType DEFLATE application/x-font-ttf
   AddOutputFilterByType DEFLATE x-font/ttf AddOutputFilterByType DEFLATE application/
   vnd.ms-fontobject AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot
   font/otf </IfModule> # END GzipWpFastestCache # BEGIN LBCWpFastestCache <FilesMatch“\.(
   webm|ogg|mp4|ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff
   |woff2|otf|ttf|svg|eot)(\.gz)?$”> <IfModule mod_expires.c> AddType application/
   font-woff2 .woff2 AddType application/x-font-opentype .otf ExpiresActive On ExpiresDefault
   A0 ExpiresByType video/webm A10368000 ExpiresByType video/ogg A10368000 ExpiresByType
   video/mp4 A10368000 ExpiresByType image/webp A10368000 ExpiresByType image/gif
   A10368000 ExpiresByType image/png A10368000 ExpiresByType image/jpg A10368000
   ExpiresByType image/jpeg A10368000 ExpiresByType image/ico A10368000 ExpiresByType
   image/svg+xml A10368000 ExpiresByType text/css A10368000 ExpiresByType text/javascript
   A10368000 ExpiresByType application/javascript A10368000 ExpiresByType application/
   x-javascript A10368000 ExpiresByType application/font-woff2 A10368000 ExpiresByType
   application/x-font-opentype A10368000 ExpiresByType application/x-font-truetype
   A10368000 </IfModule> <IfModule mod_headers.c> Header set Expires “max-age=A10368000,
   public” Header unset ETag Header set Connection keep-alive FileETag None </IfModule
   > </FilesMatch> # END LBCWpFastestCache <IfModule mod_deflate.c> AddOutputFilterByType
   DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType
   DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType
   DEFLATE text/cache-manifest AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType
   DEFLATE text/vcard AddOutputFilterByType DEFLATE text/vnd.rim.location.xloc AddOutputFilterByType
   DEFLATE text/vtt AddOutputFilterByType DEFLATE text/x-component AddOutputFilterByType
   DEFLATE text/x-cross-domain-policy AddOutputFilterByType DEFLATE application/
   xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType
   DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript
   AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType 
   DEFLATE application/json AddOutputFilterByType DEFLATE application/ld+json AddOutputFilterByType
   DEFLATE application/atom+xml AddOutputFilterByType DEFLATE application/manifest
   +json AddOutputFilterByType DEFLATE application/rdf+xml AddOutputFilterByType
   DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/schema+
   json AddOutputFilterByType DEFLATE application/vnd.geo+json AddOutputFilterByType
   DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/
   x-font-ttf AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType
   DEFLATE application/x-web-app-manifest+json AddOutputFilterByType DEFLATE application/
   xhtml+xml AddOutputFilterByType DEFLATE font/eot AddOutputFilterByType DEFLATE
   font/opentype AddOutputFilterByType DEFLATE image/bmp AddOutputFilterByType DEFLATE
   image/svg+xml AddOutputFilterByType DEFLATE image/vnd.microsoft.icon AddOutputFilterByType
   DEFLATE image/x-icon </IfModule>
 * <IfModule mod_expires.c>
    ExpiresActive On ExpiresByType text/css A2419200 ExpiresByType
   text/x-component A2419200 ExpiresByType application/x-javascript A2419200 ExpiresByType
   application/javascript A2419200 ExpiresByType text/javascript A2419200 ExpiresByType
   text/x-js A2419200 ExpiresByType text/html A3600 ExpiresByType text/richtext 
   A3600 ExpiresByType image/svg+xml A3600 ExpiresByType text/plain A3600 ExpiresByType
   text/xsd A3600 ExpiresByType text/xsl A3600 ExpiresByType text/xml A3600 ExpiresByType
   video/asf A2419200 ExpiresByType video/avi A2419200 ExpiresByType image/bmp A2419200
   ExpiresByType application/java A2419200 ExpiresByType video/divx A2419200 ExpiresByType
   application/msword A2419200 ExpiresByType application/vnd.ms-fontobject A2419200
   ExpiresByType application/x-msdownload A2419200 ExpiresByType image/gif A2419200
   ExpiresByType application/x-gzip A2419200 ExpiresByType image/x-icon A2419200
   ExpiresByType image/jpeg A2419200 ExpiresByType application/json A2419200 ExpiresByType
   application/vnd.ms-access A2419200 ExpiresByType audio/midi A2419200 ExpiresByType
   video/quicktime A2419200 ExpiresByType audio/mpeg A2419200 ExpiresByType video/
   mp4 A2419200 ExpiresByType video/mpeg A2419200 ExpiresByType application/vnd.
   ms-project A2419200 ExpiresByType application/x-font-otf A2419200 ExpiresByType
   application/vnd.ms-opentype A2419200 ExpiresByType application/vnd.oasis.opendocument.
   database A2419200 ExpiresByType application/vnd.oasis.opendocument.chart A2419200
   ExpiresByType application/vnd.oasis.opendocument.formula A2419200 ExpiresByType
   application/vnd.oasis.opendocument.graphics A2419200 ExpiresByType application/
   vnd.oasis.opendocument.presentation A2419200 ExpiresByType application/vnd.oasis.
   opendocument.spreadsheet A2419200 ExpiresByType application/vnd.oasis.opendocument.
   text A2419200 ExpiresByType audio/ogg A2419200 ExpiresByType application/pdf 
   A2419200 ExpiresByType image/png A2419200 ExpiresByType application/vnd.ms-powerpoint
   A2419200 ExpiresByType audio/x-realaudio A2419200 ExpiresByType image/svg+xml
   A2419200 ExpiresByType application/x-shockwave-flash A2419200 ExpiresByType application/
   x-tar A2419200 ExpiresByType image/tiff A2419200 ExpiresByType application/x-
   font-ttf A2419200 ExpiresByType application/vnd.ms-opentype A2419200 ExpiresByType
   audio/wav A2419200 ExpiresByType audio/wma A2419200 ExpiresByType application/
   vnd.ms-write A2419200 ExpiresByType application/font-woff A2419200 ExpiresByType
   application/vnd.ms-excel A2419200 ExpiresByType application/zip A2419200 </IfModule
   >
 * <IfModule mod_rewrite.c>
 *  RewriteEngine On
    RewriteBase /
 *  RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ [https://%](https://%){HTTP_HOST}/
   $1 [R,L]
 *  RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f RewriteCond%{
   REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
 * </IfModule>
 * AddHandler x-mapp-php5.5 .php
 * # 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] </IfModule>
 * # END WordPress
 *  [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * (@kimvt1991)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13545377)
 * [@flyordier36](https://wordpress.org/support/users/flyordier36/),
    You should
   not post these information here for security purpose. When you see the unauthorized
   error, there’s an alternative way is to use secret key. Please try it.
 *  [diegpl](https://wordpress.org/support/users/diegpl/)
 * (@diegpl)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13617121)
 * Even if I try to import through the key I get “Can not retrieve data.
    – Service
   unavailable. Please try again later”. If it is through the other authentication
   I get “Unauthorized”. Does not it work for Brazil? Tks! 😉
 *  [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * (@kimvt1991)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13627949)
 * Hi [@diegpl](https://wordpress.org/support/users/diegpl/),
    I don’t think there’s
   any problem with your country. Did you try logging in your aliexpress account?
 *  [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * (@kimvt1991)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13718875)
 * Hi,
    This issue is fixed in the latest version 1.0.2.6 of the chrome extension.
   Regards

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Unauthorized’ is closed to new replies.

 * ![](https://ps.w.org/woo-alidropship/assets/icon-128x128.gif?rev=3080898)
 * [ALD - Dropshipping and Fulfillment for AliExpress and WooCommerce](https://wordpress.org/plugins/woo-alidropship/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-alidropship/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-alidropship/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-alidropship/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-alidropship/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/unauthorized-2/#post-13718875)
 * Status: resolved