1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

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:
    89
    Likes Received:
    40
    Gender:
    Male
    Home Page:
    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:
    1,075
    Likes Received:
    270
    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.