Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Secure method to prevent search engines...
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / General / General Chat

2025-07-07 20:04:18
Secure method to prevent search engines like Google, Yandex, Yahoo, and others from indexing your torrent website
-------------------------------------------------------------------------------------------------------------------
1. robots.txt file
Place a file named robots.txt in the root of your website with the following content:

User-agent: *
Disallow: /

This tells all search engine bots not to crawl or index any part of your site.
Important: This is only a request, not a technical block. Some bots may ignore it.

2. Meta tags for no indexing:
Add the following <meta> tags inside the <head> section of every HTML page, or in your template:

<meta name="robots" content="noindex, nofollow">

You can also specify bots explicitly:

<meta name="googlebot" content="noindex, nofollow">
<meta name="yandex" content="none">

3. Block search engine bots via .htaccess (Apache servers only):

# Block Googlebot
RewriteCond %{HTTP_USER_AGENT} Googlebot [NC,OR]
# Block Yandex bot
RewriteCond %{HTTP_USER_AGENT} Yandex [NC,OR]
# Block Bingbot
RewriteCond %{HTTP_USER_AGENT} bingbot [NC,OR]
# Block Yahoo/Slurp
RewriteCond %{HTTP_USER_AGENT} Slurp [NC]
RewriteRule ^.* - [F,L]

4. Block known bot IP ranges
Some bots (like Google) crawl from known IP ranges. You can block them with .htaccess or your server firewall:
Example with Apache 2.4:

<RequireAll>
 Require all granted
 Require not ip 66.249.0.0/16  # Googlebot range
</RequireAll>

Or with iptables (Linux firewall):

iptables -A INPUT -s 66.249.0.0/16 -j DROP
You can find updated IP ranges in public bot documentation.

5. Restrict content to logged-in users only
This is one of the most effective ways to prevent indexing.

If your torrent content is only visible to registered users, then bots (which can’t log in) will not see or index anything — even if they try.

6. Reverse DNS and User-Agent validation (PHP example):
This adds another layer of protection by verifying that the IP address and User-Agent match:

$ip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($ip);

if (strpos($host, 'googlebot.com') === false && strpos($_SERVER['HTTP_USER_AGENT'], 'Googlebot') !== false) {
   header("HTTP/1.1 403 Forbidden");
   exit;
}


This blocks fake bots pretending to be Googlebot, Yandex, etc., if their IP doesn’t resolve properly.
Last edited by coco on 2025-07-07 20:05:34
2025-07-07 21:59:17
Why would I block those? We need traffic, don't we? Search engines are one of the main sources of traffic, so why would I block them?
2025-07-07 23:42:21
A good bunch of us run 'private' sites, and do not want the attention coming from bot searches.
A lot more people only want to visit 'private' sites, for the chance of better safety or anonymity.
If you want to run a 'public' site, and put up with the scrutiny, then more power to you.
I will not be a member of any site you run, if I know you don't take your members' security seriously.
2025-07-15 20:34:29
I rely on search engines like Google, Bing, and Yandex to drive traffic to my website. The site is publicly accessible, and no membership is required to access any of the files. I never ask users for their email addresses or any personal information, so there are no privacy or data concerns.

As far as I understand, this approach is consistent with what many major players in the industry do( TPB , 1337x , Nyaa ….). Please feel free to correct me if I'm mistaken.
2025-07-16 06:48:14
Nope you are doing ok as far as running a public tracker. But very many people, myself included, are more security conscious, and shun public trackers.
Personal choice. You do You. I'll do Me.
2025-07-18 09:43:29
Add this as well:


<meta name="referrer" content="no-referrer">
on every page that use IMG.

Last edited by Astaroth on 2025-07-18 09:44:36
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 4
  • Members: 0
  • Guests online: 4
  • Comments: 3
  • Messages: 1,728