Block Google and bots using htaccess and robots.txt


Remixed version of unstable human emotions and thirst of mankind actions. UX designer, UI developer and HE of WebCastle Media Pvt LTD

You may also like...

7 Responses

  1. Jacob James says:

    Great effort and collection which are very useful to many people , thaks for sharing the info with us

  2. $userAgent = $_SERVER[‘HTTP_USER_AGENT’];
    if(stristr(strtolower($userAgent), ‘googlebot’)

  3. Hiren says:

    Ravi, I think we can keept the htaccess in the directory which we do not want to be indexed. Right? I do not know that this will be the right solution or not. Its just a thought….

  4. ravi says:

    Good post

    how can we block google from indexing a specific directory using .htaccess?

    Can you please help

  5. Ariq Naufal says:

    Thanks bro..
    i will try with this step.. 🙂

  1. July 10, 2013

    […] access to your information. Things like using alternatives to Google Analytics, prevent G from indexing your site, stop using Chrome (and Firefox, as they are funded by Google) and start using Bing search […]

  2. November 4, 2013

    […] your main site so that your site gets SEO ranking if someone linked in to your blocked site. from…and-robots-txt Reply With […]

Talk your view

Read previous post:
Changing view in progress

My YouTube channel VISIONRemix's logo release.