Support » Plugin: Adaptive Images for WordPress » Nginx code

  • Hi, I am using Nginx, I have installed and activated your plugin, all seems to be configured correctly but I see this.

    If you are using NginX, you probably need such a bit of code in your configuration file:
    location / {
    rewrite \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php;
    }

    Do you mean add this code to the wp-config file? Anywhere specifically in the file or does it matter? Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, there,

    You need to add such a code in your NginX configuration file, not your WordPress configuration file. If you do not know what these then you will probably need the help of your server admin to do it. You must also, bear in mind that this code part might vary a bit, depending on the rest of your server configuration. Unfortunately, NginX does not allow us to automate this process, so it has to be done manually!

    Let me know if there is anything else I can do for you.

    Cheers,
    Takis

    Thread Starter MarkDenis

    (@markdenis)

    Thank you for the response, I am on a shared server with Siteground so not sure if this will be possible, knew it was too good to be true!

    Plugin Author Takis Bouyouris

    (@nevma)

    Sorry to hear this, but I guess you could give it a shot and let me know if I can help any further!

    Cheers,
    Takis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Nginx code’ is closed to new replies.