OTrap
Elite Member
- Jul 12, 2008
- 2,314
- 1,064
I know nothing about programming, but this guy's .htaccess file looks nothing like any of mine. It has the following, over and over, with one little change.
What does all this do?
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^hisdomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.hisdomain.com$
RewriteRule ^league/$ http://some-affiliate.com/link1/ [R=301,L]
RewriteCond %{HTTP_HOST} ^hisdomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.hisdomain.com$
RewriteRule ^league/$ http://some-affiliate.com/link2/ [R=301,L]
RewriteCond %{HTTP_HOST} ^hisdomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.hisdomain.com$
RewriteRule ^league/$ http://some-affiliate.com/link3/ [R=301,L]
What does all this do?