Link to home
Start Free TrialLog in
Avatar of TheMaximumWeasel
TheMaximumWeasel

asked on

Help with mod_rewrite ****500 POINTS URGENT****

in the apache configuration file for 2.0 what can I put using mod_rewrite to just add a www. when there is no subdomain because I want other sub domains like forums.mydomain.com to work without redirection but if it is just mydomain.com I want it to change the url to www.mydomain.com but keep anything after the domain name for example if someone goes to http://mydomain.com/?action=login I want it to redirect to http://www.mydomain.com/?action=login also I want it to just basically change the url so in the browser history they don't see http://mydomain.com then http://www.mydomain.com only the one with www.


Max
ASKER CERTIFIED SOLUTION
Avatar of caterham_www
caterham_www
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial