RObots.txt help pleasee!!!!!!

Discussion in 'WordPress' started by mdvasanth86, Aug 27, 2010.

  1. #1
    Hi DP,

    I want some with my Robots.txt file.

    Okay, I want to edit that file in my Wordpress sites , but I'm not sure where to search for it.
    I am hosted with Hostgator if that helps.

    Thanks in advance!
    :)
     
    mdvasanth86, Aug 27, 2010 IP
  2. Helvetii

    Helvetii Notable Member

    Messages:
    4,412
    Likes Received:
    90
    Best Answers:
    1
    Trophy Points:
    205
    #2
    If you can't find it, probably it doesn't exist?
     
    Helvetii, Aug 27, 2010 IP
  3. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #3
    u need to create that file and upload it to ur host
     
    bhuthecoder, Aug 27, 2010 IP
  4. Serious Workers

    Serious Workers Well-Known Member

    Messages:
    2,785
    Likes Received:
    65
    Best Answers:
    2
    Trophy Points:
    195
    #4
    If you can't find one, then create a new one in your index, and name it as Robots.txt. And enter the following code in it.
    User-agent: *
    Disallow: 
    Disallow: /cgi-bin/
    
    Code (markup):
     
    Serious Workers, Aug 27, 2010 IP
  5. mdvasanth86

    mdvasanth86 Notable Member

    Messages:
    3,869
    Likes Received:
    285
    Best Answers:
    0
    Trophy Points:
    230
    #5
    I just tried the

    domain.com/robots.txt in the urlbar and it showed up

    User-agent: *
    Disallow:


    I just wanted to check if it is right.
    Now that it is, I don't need to edit it anymore.

    However, I still couldn't find the file.

    Thanks for all the help!
     
    mdvasanth86, Aug 27, 2010 IP
  6. Serious Workers

    Serious Workers Well-Known Member

    Messages:
    2,785
    Likes Received:
    65
    Best Answers:
    2
    Trophy Points:
    195
    #6
    The will be located in 'public_html'.
     
    Serious Workers, Aug 28, 2010 IP
  7. seo.lover

    seo.lover Peon

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you have to create Roboot.txt file and then upload it
     
    seo.lover, Aug 29, 2010 IP
  8. Sokoto

    Sokoto Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Just like most folks have suggested here, you have to create the file then upload it via FTP. If you have wordpress installed in your root directory, the following might help

    User-agent: *
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/themes/
    Disallow: /wp-login.php
    Disallow: /wp-register.php

    User-agent: Mediapartners-Google
    Allow: /

    User-agent: Adsbot-Google
    Allow: /

    User-agent: Googlebot-Image
    Allow: /

    User-agent: Googlebot-Mobile
    Allow: /

    Cheers ;-)
     
    Sokoto, Aug 29, 2010 IP