how to remove site from google cache and add robots.txt???

Discussion in 'HTML & Website Design' started by PeterA, Sep 13, 2009.

  1. #1
    Hi,

    I want to remove a website from google. I have deleted all the actual content from my server, but there is still cached content held by google.

    Google denied my request to remove from cache. Said I need to use a robots.txt or a no index meta tag.

    Now since I have removed all pages and html already what should I do?

    Do I just make up a single HTML page with a robots.txt or a no index meta tag?

    How do I do this? Can someone show me how to do this, or is there a basic standard one I can use.

    I want to remove all content and trace of a past website in google.



    Peter
     
    PeterA, Sep 13, 2009 IP
  2. Astroman

    Astroman Well-Known Member

    Messages:
    2,355
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    135
    #2
    You could upload an index.html with no index no follow meta tag and no cache meta tag and no archive.

    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
    <META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
    <META NAME="GOOGLEBOT" CONTENT="NOARCHIVE">

    Or just upload pages with other random content and it will be cached instead off your current content.
     
    Astroman, Sep 13, 2009 IP
  3. PeterA

    PeterA Guest

    Messages:
    107
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So would this work? Is the code right?



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
    <META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
    <META NAME="GOOGLEBOT" CONTENT="NOARCHIVE">
    </head>
    <body>
    </body>
    </html>



    Next question.
    My main URL for my public_html folder is the website that I want to remove.

    In that folder I have another folder of a website that I must keep and not lose at all.

    If I put this new index.html page in the main part of the folder, will it affect the folder that contains the website I need to keep?
     
    PeterA, Sep 13, 2009 IP
  4. Astroman

    Astroman Well-Known Member

    Messages:
    2,355
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    135
    #4
    That code will only work on whatever pages you put it on, so only affects each page you put it on.
     
    Astroman, Sep 14, 2009 IP
  5. PeterA

    PeterA Guest

    Messages:
    107
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    but I have already deleted all pages from my server.......
     
    PeterA, Sep 14, 2009 IP
  6. Astroman

    Astroman Well-Known Member

    Messages:
    2,355
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    135
    #6
    Ok, the pages will be removed from Google automatically before too long then because of all the 404 errors. Uploading the index file will help speed it up though perhaps. Were there lots of pages? I think Google might retain the cache for a while to try and help you out, thinking that your server might have broken or you've temporarily lost your files... so uploading a different index file should tell them different. If there's any pages that you really hate coming up in the cache, that're annoying you, just upload a page with the same name and put something different on there, or with the above meta tags.
     
    Astroman, Sep 14, 2009 IP
  7. PeterA

    PeterA Guest

    Messages:
    107
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ok so from what you are saying if all my pages show 404 which they do. SOon google will drop all cached pages? How long does this take? How long does google think my site is down by accident?

    It was an ecommerce site, to many pages to simply re upload with other tags etc.

    Peter
     
    PeterA, Sep 14, 2009 IP
  8. jamespv85

    jamespv85 Peon

    Messages:
    238
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
  9. Astroman

    Astroman Well-Known Member

    Messages:
    2,355
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    135
    #9
    It really depends on how often Google used to cache your site, it's different for every site. You'll just have to try it and see, might be a week or so.

    I would use the removal request thing in webmaster tools though unless you have no intention of using the URL again, it can be a devil to get back in again.
     
    Astroman, Sep 14, 2009 IP