Jump to content

Search the Community

Showing results for tags 'googlebot being blocked'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. My Rewrite condition doesn't work (htaccess)? I'm trying to allow only the bots bellow to access my site content, however, I'm receiving 403 error every time I try to submit a sitemap to Google webmaster tools. When I delete the rules, I stop getting the error. It's more like Googlebot is the wrong name of the bot.. IDK... What I need to do is to allow Googlebot, bing, yahoo and altavista, then block any other bot that tries to access the website. My rules are as follows: RewriteEngine on RewriteBase / -----> There are other rules here, just system related. <----- RewriteCond %{HTTP_USER_AGENT} Googlebot [OR] RewriteCond %{HTTP_USER_AGENT} Googlebot-2.1 [OR] RewriteCond %{HTTP_USER_AGENT} Googlebot-Mozilla-2.1 [OR] RewriteCond %{HTTP_USER_AGENT} Google-AdSense-2.1 [OR] RewriteCond %{HTTP_USER_AGENT} Googlebot-Image [OR] RewriteCond %{HTTP_USER_AGENT} AdsBot-Google [OR] RewriteCond %{HTTP_USER_AGENT} msnbot [OR] RewriteCond %{HTTP_USER_AGENT} AltaVista [OR] RewriteCond %{HTTP_USER_AGENT} Yahoo-Slurp [OR] RewriteCond %{HTTP_USER_AGENT} Alexa-1 [OR] RewriteCond %{HTTP_USER_AGENT} Alexa-2 [OR] RewriteCond %{HTTP_USER_AGENT} MSN-1.0 [OR] RewriteCond %{HTTP_USER_AGENT} Slurp RewriteRule .* - [F,L]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.