Google Break Dance
Works but with an error (4 posts)

  1. Baraka777
    Posted 2 years ago #

    Greets, i tried your Google Break Dance, and it indeed redirects the google users to the specific sites but on the website itself all! images are not viewable anymore, it is like they would not be on the website anymore. After removing the code from the htaccess file again the images were back

    Greets from Germany!


  2. ewwink
    Plugin Author

    Posted 2 years ago #


    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]
    # END WordPress
  3. lonperdionmelo
    Posted 2 years ago #

    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

  4. lonperdionmelo
    Posted 2 years ago #

    already solved this little problem, an Inquiry images can be redirected to other sizes? ie an image size 1920x1080 which is in other sizes 1024x768, 1280x800

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Break Dance
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.