Hello everyone
I would like to prevent all search engines index my site.
What code should I put and where?
Thanx again
Yoram
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Cash@costelloc

Cash - 0 likes
- yoram@yoram

yoram - 0 likes
- patriot@patriot

patriot - 0 likes
- Team Webgalli@webgalli

Team Webgalli - 0 likes
You must log in to post replies.http://www.google.com/search?q=prevent+google+from+indexing+my+site
The same techniques will work for the major search engines.
Thank you...
Do I need to put it only on the main page (index.php) or in every page on the site (it's almost impossible)
Yoram
just use notepad and create a text file name it robots.txt with these two lines and put it in your root of your domain.
This disallows google
User-agent: google
Disallow: /
This disallows all
User-agent: *
Disallow: /
This allows all
User-agent: *
Disallow:
Just that simple...
@Yoram : You can add this to the header.php file. So it will be applicable to all pages.