Rewrite subfolder URL so it appears differently

Posted by pg on Stack Overflow See other posts from Stack Overflow or by pg
Published on 2010-05-10T20:37:58Z Indexed on 2010/05/10 20:44 UTC
Read the original article Hit count: 127

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?

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about apache