404 error for converted images though method Pass through error

[ad_1]

Hi @henriquesv,

Thank you for your message.

Your images are still safe – our plugin does not modify or delete images in your media libraries. Please activate via .htaccess mode instead of Pass Thru and the problem will be solved.

As for the server configuration error in via .htaccess mode, please tell me what exactly the error was – I will ask for a screenshot and information about what you did after reading this message.

Best,
Mateusz

Hi Mateusz,

Here’s the error:

It looks like mod_rewrite is locked on your server to the /wp-content/uploads/ directory. The blocking issue applies to .htaccess file rewrites for files in the /wp-content/uploads/ directory. Ask your hosting's technical support to unblock .htaccess file rewrites for files in the /wp-content/uploads/ directory.

In this case, contact your server administrator.

Error codes: rewrites_uploads_blocked

I ensured that the following settings were applied in the .htaccess file located within the /wp-content folder:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

I am using InMotion Hosting service.

  • This reply was modified 1 hour, 28 minutes ago by henriquesv.

@henriquesv Are you sure what you sent was the .htaccess file from the /wp-content directory? This looks like an .htaccess file from your WordPress root directory.

Here you will find a guide for InMotion hosting:
https://mattplugins.com/docs/inmotion-configuration

Thanks Mateusz! It is now working!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer