Traffic source redirect

Need to redirect source traffic to another domain?  Well, if you can’t modify the link on the source traffic, you can control it with the power of htaccess.

WARNING: Make a backup of your original .htaccess file as always.  Backups are GREAT practice to follow.

If something goes wrong, please remove the lines from your .htaccess or restore your known working backup file.

Place the following at the top of your .htaccess file:

The domain names below are just examples, please use the real domains.  The “other-something” domain is the domain you want the traffic routed to.

#### START COPY BELOW THIS LINE #####

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www|ads)\.source-traffic\.net
RewriteRule .* http://www.other-something.com [R=301,L]

### END COPY ABOVE THIS LINE ###

Enjoy the traffic router!

Keywords: Redirect, traffic, source, domain, name
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Domain redirect

So you bought another domain name that matches one you currently have.  You shouldn’t...

restrict by IP or password

I find myself tired of having to answer the pop up authentication box to view my control panel...

rewrite base

Top directories can break functionality on sub directories. Case in point:Scenario: WordPress...

rewrite non SSL to SSL

Want to force users to use SSL on your site?Add this code to the top of your .htaccess file, edit...

Restrict access by IP

WARNING:  Backup your current .htaccess file if you have one so you can quickly revert in...