I've Googled and tried on my own for hours but still nothing. It's an easy problem so I think it will take someone only 5 minutes to solve it.
I need to perform two things with HTACCESS:
1) All URLs like http://*.domain.com/category/uncategorized should be rewritten to http://*.domain.com/home
2) Redirect visitors from http://*.domain.com/ to http://*.domain.com/home
Asterik (*) should be replaced with a wildcard because I've got lots of sub-domains and there will be even more.
Thanks in advance!