g1smd - 7:02 am on Sep 20, 2013 (gmt 0)
You'll need two Rewriterules one for the index and hostname redirect and one for the hostname redirect.
The code for this has been published many times before. Check through these:
Use "example.com" in all forum code examples. This suppresses the forum auto-linking function.