Invalid image URL results in non-standard 404 errors
-
I’ve noticed that when visiting an image URL that does not exist, the 404 error I receive from WP Retina 2x seems to only output the “not found” header rather than showing my WordPress page (which is what happens with the plugin deactivated).
I’ve fixed this on my end by adding the following…
RewriteCond %{REQUEST_FILENAME} -f
Above the rewrite rule (in the WordPress .htaccess file)…
RewriteRule ^.*\.(jpg|jpeg|gif|png|bmp) /wp-content/plugins/wp-retina-2x/wr2x_image.php [QSA,L]
Is it possible/logical to incorporate this change in future versions? Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Invalid image URL results in non-standard 404 errors’ is closed to new replies.