• If I want to uninstall the plugin all my images are showing broken. If I install it again, it is fine, even without actually activating it.

    We added this to the nginx:

    try_files $uri $uri/ /{FOLDER}index.php$is_args$args;
    rewrite \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php;

    It is also working for us, but I want to have the option to uninstall it without breaking something.

    Can you help me? What is the best practice?

    Thanks!

    The page I need help with: [log in to see the link]

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

    (@nevma)

    Hello, my friend,

    NginX requires manual changes in its configuration file both when installing and when uninstalling the Adaptive Images plugin. The NginX configuration file cannot be automatically edited by the plugin itself, like the htaccess file in Apache.

    So, you need to add the bit of code that you have already added when installing the plugin and then remove that bit of code when uninstalling it, because it is no longer useful.

    You can make some tests and test this process if you would like in advance. Other than that it should all work smoothly.

    Let me know how it goes!

    Cheers,
    Takis

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, my friend,

    NginX requires manual changes in its configuration file both when installing and when uninstalling the Adaptive Images plugin. The NginX configuration file cannot be automatically edited by the plugin itself, like the htaccess file in Apache.

    So, you need to add the bit of code that you have already added when installing the plugin and then remove that bit of code when uninstalling it, because it is no longer useful.

    You can make some tests and test this process if you would like in advance. Other than that it should all work smoothly.

    Let me know how it goes!

    Cheers,
    Takis

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uninstalling plugin: Broken images & Nginx’ is closed to new replies.