jlandes
Verified User
Hello,
I'm hoping someone will be able to help me here. A customer of mine has purchased a domain name and currently has a subdomain hosted with me. He'd like to forward all traffic from his subdomain to the new domain. So, if a user enters the following URL into his/her browser:
It should automatically forward to:
Likewise, if they enter just:
It should forward to:
I'm sure this can be accomplished with mod_rewrite, but I'm not sure what the syntax for the .htaccess file should be. Is there anyone that can help me?
Thanks for your time.
I'm hoping someone will be able to help me here. A customer of mine has purchased a domain name and currently has a subdomain hosted with me. He'd like to forward all traffic from his subdomain to the new domain. So, if a user enters the following URL into his/her browser:
Code:
http://wiskerbisket.landeserve.com/gallery/showimg.php?file=/photos/2007/10/10-20-2007/PICT0016.JPG
It should automatically forward to:
Code:
http://www.wiskerbisket.net/showimg.php?file=/photos/2007/10/10-20-2007/PICT0016.JPG
Likewise, if they enter just:
Code:
http://wiskerbisket.landeserve.com
It should forward to:
Code:
http://www.wiskerbisket.net
I'm sure this can be accomplished with mod_rewrite, but I'm not sure what the syntax for the .htaccess file should be. Is there anyone that can help me?
Thanks for your time.