I have a domain that I want to redirect straight to the affiliate site im promoting. So when I type in my domain, it goes straight to the affiliate link. Will doing this affect the cookie in anyway? I was thinking that it would be ok, but then I read somewhere that sometimes redirects dont work properly. Any ideas?
301 redirection is the best practice to redirect any site. I don't think 301 could effect you any means. I suggest 301 redirection. If I am wrong plz correct me.
whats the best 301 redirect to use to redirect all pages of URL A to URL B? Below only redirects index page of URL. How to redirect all pages? RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com$ [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
It should not matter as long as you set up the redirect correctly. I cloak all oof my affiliate links with a 301 redirect to an internal URL and have never had a problem dropping the cookie. Just to make sure.. ALWAYS TEST if you start to mess with an affiliate link or you are using a new affiliate program.