quick ht access question

transistor

New member
Sep 30, 2007
912
6
0
How would I go about redirecting
PHP:
http://www.my_domain.com/www.commission_junction.com?url=http://affiliate_domain.com?3423xyz

to

http://www.commission_junction.com?url=http://affiliate_domain.com?3423xyz
I've tried a few ways, but none seem to work. I think the http:// in the third domain might be screwing things up. Any ideas?
 


good source to get this is

Free .htaccess Redirect Generator


your quick redirect...
Code:
//Rewrite to www
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^google.com[nc]
RewriteRule ^(.*)$ http://www.google.com/$1 [r=301,nc]