Black Hat Forum Black Hat SEO
Name:
E-mail:
Go Back   Black Hat Forum Black Hat SEO > Black Hat SEO > Black Hat SEO Tools

Black Hat SEO Tools Black Hat Tools: You can't GO it alone...have an arsenal of programs to help you out!

Search
 

Site Terms Please Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-2009, 03:01 PM
Registered Member
 
Join Date: Oct 2009
Location: Colombo
Posts: 56
Thanks: 16
Thanked 12 Times in 4 Posts
Reputation: 10
iTrader: (0)
Default how to block traffic from one web site...

Hey ,

I immediately need help.I need to block traffic from one web site .Can you tell me how to do it or redirect to another site?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-20-2009, 03:04 PM
pavan's Avatar
Regular Member
 
Join Date: Mar 2008
Posts: 287
Thanks: 20
Thanked 116 Times in 43 Posts
Reputation: 31
iTrader: (3)
Send a message via Yahoo to pavan
Default Re: how to block traffic from one web site...

u can do it if u know php
I dnt have the exact code but
edit ur index file
and check the referer
if its = domain.com (that you want to block)
redirect it to google.com

somewhat like this

Code:
$referer = $_SERVER['domain.com'];
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-20-2009, 03:07 PM
Registered Member
 
Join Date: Oct 2009
Location: Colombo
Posts: 56
Thanks: 16
Thanked 12 Times in 4 Posts
Reputation: 10
iTrader: (0)
Default Re: how to block traffic from one web site...

I have blogger site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-20-2009, 03:10 PM
gfawkes's Avatar
Newbie
 
Join Date: Oct 2008
Posts: 36
Thanks: 6
Thanked 4 Times in 4 Posts
Reputation: 11
iTrader: (0)
Send a message via MSN to gfawkes
Default Re: how to block traffic from one web site...

do you want to block page views or comments?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-20-2009, 03:12 PM
Registered Member
 
Join Date: Oct 2009
Location: Colombo
Posts: 56
Thanks: 16
Thanked 12 Times in 4 Posts
Reputation: 10
iTrader: (0)
Default Re: how to block traffic from one web site...

all in my site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-20-2009, 04:33 PM
Registered Member
 
Join Date: Oct 2009
Location: Colombo
Posts: 56
Thanks: 16
Thanked 12 Times in 4 Posts
Reputation: 10
iTrader: (0)
Default Re: how to block traffic from one web site...

are there any one can help me???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-20-2009, 07:54 PM
Newbie
 
Join Date: Jun 2009
Posts: 45
Thanks: 0
Thanked 20 Times in 11 Posts
Reputation: 11
iTrader: (0)
Default Re: how to block traffic from one web site...

Quote:
Originally Posted by kkvsam View Post
I have blogger site
On Blogger you can't enter custom PHP code.
But you can include the following javascript in the Template:

Code:
 
<script>
if   (document.referrer = "http://badpage.com") location.href = "http://www.google.com"; 
</script>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-20-2009, 07:58 PM
cagefighter's Avatar
Junior Member
 
Join Date: Nov 2009
Location: New York/Atlanta
Posts: 112
Thanks: 19
Thanked 93 Times in 56 Posts
Reputation: 12
iTrader: (0)
Default Re: how to block traffic from one web site...

You can block the IP or the referrer in .htaccess

Sorry starting typing that then looked up and saw Alpha post and since u dont have access to your .htaccess on the server then java is the way to go just make sure u post the java above in the <head>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-21-2009, 05:03 AM
Registered Member
 
Join Date: Oct 2009
Location: Colombo
Posts: 56
Thanks: 16
Thanked 12 Times in 4 Posts
Reputation: 10
iTrader: (0)
Default Re: how to block traffic from one web site...

Quote:
Originally Posted by AlphaTwin View Post
On Blogger you can't enter custom PHP code.
But you can include the following javascript in the Template:

Code:
 
<script>
if   (document.referrer = "http://badpage.com") location.href = "http://www.google.com"; 
</script>

Can you explain this.and Can I redirect those traffic only.If can ,how
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-22-2009, 01:40 AM
Registered Member
 
Join Date: Oct 2009
Location: Colombo
Posts: 56
Thanks: 16
Thanked 12 Times in 4 Posts
Reputation: 10
iTrader: (0)
Default Re: how to block traffic from one web site...

any body can help me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-22-2009, 01:43 AM
justone's Avatar
Supreme Member
 
Join Date: Oct 2008
Location: Europe
Posts: 1,325
Thanks: 98
Thanked 654 Times in 211 Posts
Reputation: 42
iTrader: (12)
Send a message via ICQ to justone
Default Re: how to block traffic from one web site...

Alpha already helped you.
Thank him by using the thanks button and read those 3 lines of simple javascript code.
Even as non-programmer you should be able to understand it. That's just like normal language with a few extra charaters
__________________
Hundreds of GeoIPs Cloakfish.com || Exclusive Proxies www.SEO-proxies.com + Premium tools
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Copyright © 2010 BlackHatWorld.com All rights reserved.