try cpa redirector 2 its old but it should do the job for you
that is in php.......
php it's the best solution,
but my websites are in html........
Dude... use Brad's CPA redirector v2. It's by far the best tool for the job, it's right there in front of you, it's free, it's easy, it works 100% of the time. You could have it installed already if you stopped mucking around.
Separate names with a comma.