|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
The Dirty Frenchman
Industry Role:
Join Date: Nov 2005
Location: Lost Angeles
Posts: 8,904
|
htaccess question
Is it possible to redirect hotlinked images to a URL? I have a site hotlinking my images. Now i could just block it to a default image of goatse or somthing, but they're hitting me about 1k times a day, so a redirect would be worth some traffic. Is there any way to do this through htaccess?
|
|
|
|
|
|
#2 |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
no you can not it will just show up as a red x
|
|
|
|
|
|
#3 |
|
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
the best you can do is show a different image, like "Visit xyz.com"
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
Redirect to a flash file that does a popup?
Or take it down so it 404's and then change the 404 to something that does a pop? Not sure if that would work though. |
|
|
|
|
|
#5 |
|
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
|
|
|
|
|
#6 |
|
Viva la vulva!
Join Date: Mar 2003
Location: you can't please everyone, so you got to please yourself
Posts: 16,557
|
![]() |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Feb 2006
Location: TEH PIT
Posts: 88
|
You can do this with a little bit of PHP scripting. Basically, you need to look up the HTTP_REFERER header sent by the client (in PHP it would be typically found in $_SERVER['HTTP_REFERER'] variable). You then normalize the URL and check it against your own domain. If the traffic is coming from outside, you do a redirect. Otherwise you let it in and serve the content
__________________
Mike Seth - 274-570-412 <mikeseth at gmail.com> |
|
|
|