Firstly I'm not sure whether I'm asking at the right place or not (either here or stackoverflow). Sorry, if I'm not.
Before that:
My site runs on apache and developed using PHP.
What I'm trying to do is:
- My client can generate a registration page for its customers.
- The default generated registration page URL is something like
www.mydomain.com/test.php?clientid=2
- But the url is long and ugly, so I created another option for the client to generate a prettier looking url, which starts with a shorter domain (eg: like.my) and a customizable 'path' after that. So the resulting pretty url my client want is like
http://like.my/page
. - So there is a simple way to redirect the traffic from
http://like.my/page
tohttp://www.mydomain.com/test.php?clientid=2
? - Btw I have thousands of clients and each of them would have different pretty url pointing to different other pages.