1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Another Urgent Help. Robots.txt??

Discussion in 'Search Engine Optimization' started by denzcasa84, Feb 14, 2013.

  1. #1
    Hi Guys,

    I have another question.
    My client's website have an old website that has a "www" that is redirected to it's new domain that is a "non-www". I want the old website not be displayed on search results. I don't want it to be crawled bt all search engine crawlers
     
    denzcasa84, Feb 14, 2013 IP
  2. ryan_uk

    ryan_uk Illustrious Member

    Messages:
    3,983
    Likes Received:
    1,022
    Best Answers:
    33
    Trophy Points:
    465
    #2

    Normally, one would use a 301 redirect of the old site (homepage and its pages) to the new domain and allow time for crawling. Also, the Change of Address option would be used in Google Webmaster Tools. Then the old domain will be removed from search results. If you want to redirect, but not for search engines and just tell them not to crawl, you risk penalty on the new site (you would need to use a form of cloaking).

    Why do you not want the old site to be crawled? That's kind of senseless if you are redirecting. If it's due to penalty concern (redirect passing on the penalty), then don't redirect and just add a robots.txt file.
     
    ryan_uk, Feb 15, 2013 IP
  3. Giamatti

    Giamatti Well-Known Member

    Messages:
    1,319
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    148
    #3
    301 your old site to your new and use the NoIndex option in the robots.txt
     
    Last edited: Feb 15, 2013
    Giamatti, Feb 15, 2013 IP
  4. sachinkalambe

    sachinkalambe Greenhorn

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    You need to optimize your Robots.txt file
    Check this code

    User-agent: *
    Disallow: /wp-admin/
    Disallow: /wp-includes/

    Simply disallow the folders u dont want to show to search engine bot
     
    sachinkalambe, Feb 15, 2013 IP
  5. goodstudy

    goodstudy Banned

    Messages:
    94
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    38
    #5
    in your old website
    robots.txt write

    User-agent: *
    Disallow: /

    that is enough
     
    goodstudy, Feb 15, 2013 IP