URL Rewriting from a subdomain to main domain!
Posted
by JCHASE11
on Stack Overflow
See other posts from Stack Overflow
or by JCHASE11
Published on 2010-04-19T22:49:31Z
Indexed on
2010/04/19
22:53 UTC
Read the original article
Hit count: 171
Hello. I am developing a pretty large website for a client, and its about 90% complete. It is currently hosted on a subdomain like so:
now: v2.websitehere.com
when complete: www.websitehere.com
My problem is that SO much of this site is linked to the temporary subdomain. The newsletter service, multiple google apis, etc. I also have multiple blogs installed that would be hard to move over. Literally, I have over 20 blogs hosted on the subdomain. I also have other PHP scripts that utilize SQL databases. So, what I am getting at is that a migration would be very difficult: time consuming, frustrating, and not something I want to do.
I am looking for a a good solution...similar to Wordpress's URL rewriting. Is there something I can do with .htaccess file? Any ideas would be MUCH appreciated.
© Stack Overflow or respective owner