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

    (@ewwink)

    Hi,

    please edit your .htaccess like below:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} wp-content/uploads/.*\.(gif|jpg|jpeg|png)$ [NC]
    RewriteCond %{HTTP_USER_AGENT} !.*bot.* [NC]
    RewriteCond %{HTTP_REFERER} !^$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.google.[a-z]{2,4}(.[a-z]{2,4})?/blank.html$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www.)?example.com/.*$ [NC]
    RewriteRule ^(.*)$ /get_image?$1 [R=302,L]
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    hello thank you very much for your plugin, I get an error

    [23-Feb-2013 01:41:36 UTC] PHP Warning: Missing argument 2 for wpdb::prepare(), called in /home/public_html/misito/wp-content/plugins/google-break-dance/google-break-dance.php on line 17 and defined in /home/public_html/misitio/wp-includes/wp-db.php on line 990

    and the latest version I redirect images, excuse my language, but thank you very much for your work and share

    already solved this little problem, an Inquiry images can be redirected to other sizes? ie an image size 1920×1080 which is in other sizes 1024×768, 1280×800

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Works but with an error’ is closed to new replies.