301 Redirect from main domain (www and non-www) to subdomain?
You could condense them into a single rule as well.
Related Questions
Htaccess : how to redirect all files in a folder to non subdomain if accessed via a subdomain?
301 redirect from www.domain.com/index.html to www.domain.com not working?
Asp.net mvc 301 redirect from www.domain.com to domain.com?
Do sub domain gets link juice from main domain without a text link to it from main domain?
How can I 301 redirect specific subdomain URLs using .htaccess?
Htaccess redirect from subdomain's articles to main domain?
» About WebKnox
» Contact
» WebKnox Blog
» RSS
» Newsletter
» Twitter
» API
» API Showcase