• Resolved jwarren

    (@jwarren)


    Hi Jordy,

    Thanks for this brilliant plugin. I’m having a problem with the server-side configuration. I’ve got a normal installation of 3.5.1. The client-side more works perfectly, but the @2x images aren’t requested when server-side is selected.

    I’ve had a look at me .htaccess file, and it seems like there isn’t any retina-specific code in there. I couldn’t find anything appropriate to copy in the plugin’s source. I tried adding the MU specific code, but it’s not right, and my mod_rewrite skills are basically non-existent.

    Any help you can offer would be appreciated.

    https://www.ads-software.com/extend/plugins/wp-retina-2x/

Viewing 1 replies (of 1 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello!

    You’re welcome, and I am glad it’s working on the client-side, shouldn’t take more for the server-side to work as well. So I guess you are not using much caching or any CDN, right?

    The .htaccess is written using the WordPress API in the function called “wr2x_generate_rewrite_rules” (“wr2x_settings.php”).

    The .htaccess line is something like:
    RewriteRule .(?:jpe?g|gif|png|bmp)$ wp-content/plugins/wp-retina-2x/wr2x_retinaimages.php [L]

    Maybe you can try something with that?

    By the way, WP is NOT adding any rewrite rules if you don’t use the Permalinks.

Viewing 1 replies (of 1 total)
  • The topic ‘Server-side not working’ is closed to new replies.