| Author |
Message |
express Client

Joined: Jan 03, 2007 Posts: 62
|
Posted:
Sun Nov 18, 2007 7:18 pm |
|
I found this script that Raven had posted on how to stop your site from being crawled. Is the correct place to install this to is the .index file? Also, in what location.
Thanks,
Express |
|
|
|
 |
jakec Moderator

Joined: Feb 06, 2006 Posts: 1853 Location: United Kingdom
|
Posted:
Mon Nov 19, 2007 1:17 am |
|
Which script is this?
You can alter the robots.txt file to try and prevent legitimate bots from crawling your site, you can also use the .htaccess to prevent bots from crawling your site. Both have been discussed before in detail. |
|
|
|
 |
express Client

Joined: Jan 03, 2007 Posts: 62
|
Posted:
Mon Nov 19, 2007 10:08 am |
|
Here is an example of the script.
<!-- Prevents indexing of the page and of links on the page. -->
meta name=robots content no index
<!-- Prevents indexing of the page. -->
<!-- Prevents indexing of links off the page. -->
Where does this script go? |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2853
|
Posted:
Mon Nov 19, 2007 6:51 pm |
|
Meta tags go into includes/meta.php |
|
|
|
 |
express Client

Joined: Jan 03, 2007 Posts: 62
|
Posted:
Mon Nov 19, 2007 8:11 pm |
|
Thanks again evaders99! I found this and just added to NO to both the index and follow txt. I hope I did this right.
$metastring .= "<meta name=\"ROBOTS\" content=\"NOINDEX, NOFOLLOW\" />\n";
~S~
Express |
|
|
|
 |
|
|
|
|