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)
-   -   htaccess help (https://gfy.com/showthread.php?t=1207459)

DODevelopment 07-15-2016 03:07 AM

htaccess help
 
Hi,

Im trying to do the following, if htaccess detects incoming traffic from site A, i want it to send it to another website.

So if for eg my site detects incoming traffic coming from nfl.com i want to automatically send those visitors to nflfans.com/signup/

(its so i can setup specific landing pages on different domains)

Rich

Denny 07-15-2016 03:51 AM

Try this, maybe:

Code:

RewriteEngine on
RewriteCond %{HTTP_REFERER} ://[^.]+\.nfl\. [NC]
RewriteRule ^(.*)$ http://nflfans.com/signup/


CPA-Rush 07-15-2016 04:35 AM

Code:

RewriteEngine On
RewriteCond %{HTTP_REFERER} .*incomingtraffic.com.*$
RewriteRule ^(.*)$ http://incomingtrafficfans.com/signup



All times are GMT -7. The time now is 05:43 PM.

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