[Resolved] [Plugin: WP Retina 2x] .htaccess generated with incorrect RewriteRule
wp-retina-2x version 0.4
The .htaccess file that is generated is:
RewriteRule ^.*\.(jpg|jpeg|gif|png|bmp) /https://docwhat.org/wp-content/plugins/wp-retina-2x/wr2x_image.php [QSA,L]
It seems that the
str_replace( get_home_url(), ...)in
wp2x_settings.phpis not doing the “right” thing. Since I’m using FORCE_SSL_ADMIN.
I *think* the right solution is:
$handlerurl = str_replace( trailingslashit(site_url()), '', plugins_url( 'wr2x_image.php', __FILE__ ) );
- The topic ‘[Resolved] [Plugin: WP Retina 2x] .htaccess generated with incorrect RewriteRule’ is closed to new replies.