I used mod_rewrite to turn the exit link to the affiliate homepage from my website into a friendly link.

Example:

myaffiliate.com/affid?=12345&prodid?=6789

to

myowndomain.com/exit/12345/6789

I am wondering - the exit link is going to an external domain. Should I rather replace "myowndomain.com" with "myaffiliate.com" to avoid any penalties with search engines? The second part of the URL would stay unchanged of course.

Christoph