1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Use of Robot.txt for bing?

Discussion in 'Black Hat SEO' started by dipakgseo, May 29, 2013.

  1. dipakgseo

    dipakgseo Registered Member

    Joined:
    May 1, 2013
    Messages:
    55
    Likes Received:
    33
    Gender:
    Male
    If I want index my page in google for specifically avoid bing, how to do that? Don't want to index in bing? tell me..
     
  2. dinkish

    dinkish Power Member

    Joined:
    Apr 19, 2013
    Messages:
    689
    Likes Received:
    159
    I'm not sure why you'd want to block Bing from crawling your site, but you should be able to do this by editing your .htaccess with the following line in your root directory:


    RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (bingbot) [NC] RewriteRule .* - [R=403,L]
     
  3. jhakasseo

    jhakasseo Senior Member

    Joined:
    Mar 1, 2012
    Messages:
    827
    Likes Received:
    237
    Occupation:
    Internet Marketing
    Location:
    On d Earth
    Home Page:
    If you want to prevent specific page, update your robots.txt file as follow"

    User-agent: Bingbot
    Disallow: page url

    If you want to prevent entire website, update your robots.txt file as follow"

    User-agent: Bingbot
    Disallow: website url

    Hope this will help.