WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] Googlebot image search (3 posts)

  1. wpconvert
    Member
    Posted 7 months ago #

    Hi.

    Since upgrading to .49 my security log is filling with these kinds of reports:

    REMOTE_ADDR: 66.249.78.192
    Host Name: crawl-66-249-78-192.googlebot.com
    SERVER_PROTOCOL: HTTP/1.1
    HTTP_CLIENT_IP:
    HTTP_FORWARDED:
    HTTP_X_FORWARDED_FOR: 66.249.78.192
    HTTP_X_CLUSTER_CLIENT_IP:
    REQUEST_METHOD: GET
    HTTP_REFERER:
    REQUEST_URI: /wp-content/themes/MyTheme/timthumb.php?src=http://www.MyDomain.com/wp-content/uploads/old/newslatest/MyImage.jpg&q=90&w=640&zc=1
    QUERY_STRING:
    HTTP_USER_AGENT: Googlebot-Image/1.0

    Entering the request uri in the log message results in a 403 forbidden.

    Having checked Google webmaster tools, it appears as if there is a problem indexing images - I assume due to blocking.

    Should I enter a skip/bypass rule in custom code...and if so, what should it be?

    Thanks for your help.

    http://wordpress.org/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 7 months ago #

    Yep, you are correct that a Theme Timthumb skip/bypass rule needs to be added to BPS Custom Code.

    1. Copy this .htaccess code below to the Custom Code CUSTOM CODE PLUGIN SKIP/BYPASS RULES: Add ONLY personal plugin skip/bypass rules here: text box
    2. Save your new custom code by clicking the Save Root Custom Code button.
    3. Click the Create secure.htaccess File AutoMagic button on the Security Modes page.
    4. Activate BulletProof Mode for your Root folder on the Security Modes page.

    NOTE: If your WordPress installation is in a subfolder then add your WordPress subfolder name in the path.
    Example: /my-wordpress-installation-folder-name/wp-content/themes/…

    # Theme Thumbnailer script skip/bypass rule
    RewriteCond %{REQUEST_URI} ^/wp-content/themes/YourTheme/timthumb\.php [NC]
    RewriteRule . - [S=13]
  3. wpconvert
    Member
    Posted 7 months ago #

    Thanks AITpro - a rapid response again with detailed 'fix'.
    I'm sure that this will do the trick but I'll post back if I continue to have issues.

    Keep up the great work!

Reply

You must log in to post.

About this Plugin

About this Topic