Title: . htaccess method can&#8217;t work
Last modified: September 15, 2023

---

# . htaccess method can’t work

 *  Resolved [buzzbluish](https://wordpress.org/support/users/buzzbluish/)
 * (@buzzbluish)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/)
 * Hi there,
 * I understand the check way. But when I set Image loading method as ‘By. htaccess/
   Nginx (recommended)’, it doesn’t work. Then I change it to ‘Pass Thru’, it works
   correctly.
 * I don’t know why .htaccess failed, can you help me. Is there a significant difference
   in performance between these two methods? Is the ‘Pass Thru’ method a relatively
   inferior option？
 * Best regards,
   Buzz
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtaccess-method-cant-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17052621)
 * Hi [@buzzbluish](https://wordpress.org/support/users/buzzbluish/),
 * Thank you for your message.
 * The Pass Thru method is a significantly worse option because all files are loaded
   through the PHP file instead of directly from disk. It works slower.
 * Why do you think the recommended image loading mode doesn’t work?
 * Best,
    Mateusz
 *  Thread Starter [buzzbluish](https://wordpress.org/support/users/buzzbluish/)
 * (@buzzbluish)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17053390)
 * Hi [@mateuszgbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/),
 * Thanks for your help.
 * I followed the tutorial([How to check if the Converter for Media plugin is working properly? – matt plugins](https://mattplugins.com/docs/how-to-test-converter-for-media-plugin)),
   so when I used the .htaccess method, the image types are not in webp format. 
   However, the ‘Pass Thru’ method makes it work correctly. I believe I have configured
   Nginx correctly but can’t figure out why it’s not working.
 * Best regards,
   Buzz
    -  This reply was modified 2 years, 8 months ago by [buzzbluish](https://wordpress.org/support/users/buzzbluish/).
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17054705)
 * I want to see what might have gone wrong. [@buzzbluish](https://wordpress.org/support/users/buzzbluish/),
   could you send me a screenshot of the Help Center tab in the plugin’s settings?
   I will check it because in this tab I have information about the status of your
   website.
 * **Before taking screenshots, please set the mode “via .htaccess/Nginx”.**
 *  Thread Starter [buzzbluish](https://wordpress.org/support/users/buzzbluish/)
 * (@buzzbluish)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17055359)
 * [@mateuszgbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/) [https://photos.app.goo.gl/e6225r8yhkoLRZqu9](https://photos.app.goo.gl/e6225r8yhkoLRZqu9)
 * ![](https://i0.wp.com/woolio.cn/wp-content/uploads/2023/09/BRSCA5E2R28GPCH2.png?
   ssl=1)
    -  This reply was modified 2 years, 8 months ago by [buzzbluish](https://wordpress.org/support/users/buzzbluish/).
    -  This reply was modified 2 years, 8 months ago by [buzzbluish](https://wordpress.org/support/users/buzzbluish/).
 *  Thread Starter [buzzbluish](https://wordpress.org/support/users/buzzbluish/)
 * (@buzzbluish)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17062510)
 * Hello [@mateuszgbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/),
   I was wondering if there are any clues available. Thank you!
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17062709)
 * [@buzzbluish](https://wordpress.org/support/users/buzzbluish/) I’m sorry for 
   the lack of response. Thank you for your patience.
 * Please tell me if the plugin is currently active and the via .htaccess mode is
   active? I would like to test your website.
 *  Thread Starter [buzzbluish](https://wordpress.org/support/users/buzzbluish/)
 * (@buzzbluish)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17063390)
 * [@mateuszgbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/) yes,
   its currently active as via .htaccess mode, you can test it.
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17063961)
 * Thank you [@buzzbluish](https://wordpress.org/support/users/buzzbluish/),
 * From what I can see, there is some cache on your server – not the cache handled
   by the WordPress plugin, but the cache at the hosting level. I know this because
   of several headers returned by the server when loading images:
    - Via: cache54.l2cn3129[0,0,200-0,H], cache70.l2cn3129[1,0], kunlun8.cn192[0,0,200-
      0,H], kunlun3.cn192[7,0]
    - X-Cache: HIT TCP_HIT dirn:11:653798678
    - X-Swift-Cachetime: 6896254
    - X-Swift-Savetime: Thu, 14 Sep 2023 18:26:04 GMT
 * Is it possible to clear this cache?
 *  Thread Starter [buzzbluish](https://wordpress.org/support/users/buzzbluish/)
 * (@buzzbluish)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17064617)
 * Thank you so much [@mateuszgbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * I think that’s the reason, the CDN cache cause the problem, I am sorry for taking
   up your time and thanks so much for your patient help.

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

The topic ‘. htaccess method can’t work’ is closed to new replies.

 * ![](https://ps.w.org/webp-converter-for-media/assets/icon-256x256.png?rev=2636288)
 * [Converter for Media - Optimize images | Convert WebP & AVIF](https://wordpress.org/plugins/webp-converter-for-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webp-converter-for-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webp-converter-for-media/)
 * [Active Topics](https://wordpress.org/support/plugin/webp-converter-for-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webp-converter-for-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webp-converter-for-media/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [buzzbluish](https://wordpress.org/support/users/buzzbluish/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/htaccess-method-cant-work/#post-17064617)
 * Status: resolved