GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I need a simple HTACCESS code.... someone must have it. (https://gfy.com/showthread.php?t=336104)

alexg 08-04-2004 11:41 AM

I need a simple HTACCESS code.... someone must have it.
 
I need an HTACCESS code that I can put in the root dir and it will do the following:

redirect all traffic coming from any page on one specific domain, to a website which I chose.

for example, if my domain is domain.com and I want to redirect all traffic from ban.com, I want it to redirect even if someone visits http://www.domain.com/bla/bla/bla/bla.jpg
from: http://www.ban.com/bla/bla/bla/bla.html

to put it simple, I don't want anyone who came from some place inside ban.com to access any file on my website. I just want to redirect them all..


I really appreciate if you could provide me with this code.
you can also hit me up on icq: 162136565
thanks :thumbsup

alexg 08-04-2004 12:09 PM

bump..
I need this code asap... please :helpme

Oracle Porn 08-04-2004 12:10 PM

forget about the 100 nis I owe ya and you got it ;)

alexg 08-04-2004 12:13 PM

Quote:

Originally posted by Oracle Porn
forget about the 100 nis I owe ya and you got it ;)
haha, I already forgot...now you had to remind me :1orglaugh

alexg 08-04-2004 12:14 PM

Quote:

Originally posted by alexg
haha, I already forgot...now you had to remind me :1orglaugh
hit me up, send me the code



and put my links up bitch :BangBang:

Vox 08-04-2004 12:16 PM

redirectMatch permanent ^(.*)$ http://www.domain.com$1

alexg 08-04-2004 12:20 PM

Quote:

Originally posted by Vox
redirectMatch permanent ^(.*)$ http://www.domain.com$1
there's supposed to be one more url in the code

1 of the domain i want to redirect traffic from, and the other the url which i want to redirect too.

Oracle Porn 08-04-2004 12:23 PM

Quote:

Originally posted by alexg
hit me up, send me the code



and put my links up bitch :BangBang:

oh ya links....
you hit me up, you need the code dont you?
btw your 100 nis turned into 50 ;)
all those drinks aren't free bitch... :thumbsup

Vox 08-04-2004 12:27 PM

Quote:

Originally posted by alexg
there's supposed to be one more url in the code

1 of the domain i want to redirect traffic from, and the other the url which i want to redirect too.


If you want to redirect traffic from domain A to Domain B
put this line in your htaccess for domain A
redirectMatch permanent ^(.*)$ http://www.domain-B.com$1

That's all.

alexg 08-04-2004 12:38 PM

Quote:

Originally posted by Vox
If you want to redirect traffic from domain A to Domain B
put this line in your htaccess for domain A
redirectMatch permanent ^(.*)$ http://www.domain-B.com$1

That's all.

I don't have access to fomain A

domain A is some russian hacker "sale short icq" domain which hotlinks my pics

alexg 08-04-2004 12:39 PM

Quote:

Originally posted by Oracle Porn
oh ya links....
you hit me up, you need the code dont you?
btw your 100 nis turned into 50 ;)
all those drinks aren't free bitch... :thumbsup

lol, why do you keep bringing that up over and over..

I told you a forgot...

eskimoen 08-07-2004 05:39 AM

You can use http://www.htaccesstools.com/block_hitbots/


All times are GMT -7. The time now is 02:34 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123