homepage Welcome to WebmasterWorld Guest from 54.242.18.190
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Redirect only domain.com to www.domain.com and retain sub-domains
web2008




msg:4627173
 1:41 pm on Dec 2, 2013 (gmt 0)

I want to redirect only domain.com to www.domain.com and retain sub-domains.

Example:
http://example.com -> http://www.example.com
http://m.example.com -> http://m.example.com

[edited by: phranque at 9:29 am (utc) on Jan 20, 2014]
[edit reason] exemplified domain [/edit]

 

lucy24




msg:4627233
 4:58 pm on Dec 2, 2013 (gmt 0)

What have you got so far?

:: insert "Why We Make You Do It Yourself" boilerplate ::

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved