Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-05-24, 08:17 PM   #1
smutpimp
Registered User
 
Join Date: Nov 2003
Location: U.K
Posts: 22
Send a message via ICQ to smutpimp
Blocking PSP's from sites

Does anyone know how I can block Sony PSP's from my site. I've noticed from my server logs that I'm getting a lot of hits from them and for obvious reasons I'd like to stop it. Anything I can add to htaccess would be great. Thanks
smutpimp is offline   Reply With Quote
Old 2007-05-25, 12:43 AM   #2
sabin
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
 
sabin's Avatar
 
Join Date: Mar 2006
Posts: 74
i think the user-agent for PSPs is "http_x_psp_browser" but you could block any "psp" to be safe. I'm assuming you know how to do that with your .htaccess
sabin is offline   Reply With Quote
Old 2007-05-25, 11:18 PM   #3
smutpimp
Registered User
 
Join Date: Nov 2003
Location: U.K
Posts: 22
Send a message via ICQ to smutpimp
Actually Sabin, no, I don't know what to add to the htaccess file. the User-Agent string is "Mozilla/4.0 (PSP (PlayStation Portable); 2.00)"
smutpimp is offline   Reply With Quote
Old 2007-05-26, 10:28 AM   #4
ClickBuster
I'm normally not a praying man, but if you're up there, please save me Superman!
 
ClickBuster's Avatar
 
Join Date: Dec 2004
Location: Bulgaria
Posts: 476
Send a message via ICQ to ClickBuster
I *think* this should do the trick, but I'm not 100% certain as I copy/pasted and modified the code that I grabbed on another site, tho it looks fine and it seems it *should* work.

Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_user_agent} http_x_psp_browser
RewriteRule ^$ http://www.google.com
This saved in the .htacces file in the site's / folder should take care to redirect PSPs to Google
__________________
The tendency is to push it as far as you can
-- Fear and Loathing In Las Vegas
ClickBuster is offline   Reply With Quote
Old 2007-05-26, 10:55 AM   #5
smutpimp
Registered User
 
Join Date: Nov 2003
Location: U.K
Posts: 22
Send a message via ICQ to smutpimp
Cheers ClickBuster, I'll try it out
smutpimp is offline   Reply With Quote
Old 2007-05-27, 06:36 AM   #6
Kappi
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Jan 2005
Posts: 47
Send a message via ICQ to Kappi
I wouldn't send the traffic to google though, build a psp page and redirect it there.
__________________
GetBlogTraffic.com | A comprehensive list of blog traffic resources
Kappi is offline   Reply With Quote
Old 2007-05-29, 08:38 AM   #7
SmithsMedia
The poster formally known as NOCHEXContact
 
SmithsMedia's Avatar
 
Join Date: Sep 2003
Location: Beverley, UK
Posts: 1,019
Quote:
Originally Posted by smutpimp View Post
Does anyone know how I can block Sony PSP's from my site. I've noticed from my server logs that I'm getting a lot of hits from them and for obvious reasons I'd like to stop it. Anything I can add to htaccess would be great. Thanks
Just a thought, if you can redirect them send them to Strictly Broadband UK PSP movies sections
SmithsMedia is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 01:40 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc