Rewrite subfolder URL so it appears differently

Posted by pg on Server Fault See other posts from Server Fault or by pg
Published on 2010-05-10T20:37:58Z Indexed on 2010/05/22 7:32 UTC
Read the original article Hit count: 109

Filed under:
|

I want to change the URL that appears when you go to:

MYSUBDOMAIN.MYCOMPANY.COM/carbonated-milk/

to:

carbonated-milk.com/

I'm trying to figure out what to put in my .htaccess folder to do this and I've been reading through all kinds of doc files and through other peoples' questions on stackoverflow but can't come up with an answer for this. Do any of you have any idea?

© Server Fault or respective owner

Related posts about apache

Related posts about .htaccess