PDA

View Full Version : Subdomain to domain help please


suthra
01-17-2007, 02:56 AM
Hi m8s.,
I have the domain.,
ser.mydomain.com/cgi-bin/viewprofile.php?id=a123456

i would like to rewrite it as:
mydomain.com/a123456

Also.,
if anyone types
ser.mydomain.com/cgi-bin/viewprofile.php?id=a123456
it should have a 301 redirection made to:

mydomain.com/a123456

would be grateful for any help :)

Thanks
Sarathy.s

Marcia
01-17-2007, 04:45 AM
Hi Sarathy, did you look through this thread?

http://forums.searchenginewatch.com/showthread.php?t=3925

That might help.

suthra
01-17-2007, 06:32 AM
Hi Marcia, thanks for the reply., I actually have that link in my bookmarks :) , i dont have an answer for subdomain queries there