Forum Moderators: phranque

Message Too Old, No Replies

.htaccess rewrite please help

rewrite difficulties

         

etdebruin

10:06 pm on Feb 20, 2005 (gmt 0)

10+ Year Member



Hi there - I have great respect for those .htaccess rewrite gurus out there and was wondering if I could trouble you with helping me with the following:

I want to rewrite URL's from (and I have many subdomains):

http://sandiego.example.com/
to
http://example.com/UnitedStates/SanDiego-CA/

OR

http://london.example.com/
to
http://example.com/England/London/

OR

http://atlanta.example.com/
to
http://example.com/UnitedStates/Atlanta-GA/

Please help .. I have tried many avenues, but they just don't work.

Thanks

eT

[edited by: jdMorgan at 12:06 am (utc) on Feb. 22, 2005]
[edit reason] Examplified. [/edit]

jdMorgan

12:25 am on Feb 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



eT,

Please post your code so we can discuss it.

Jim