- Sep 10, 2010
- 11,805
- 26,657
It wasn't working because of the L type your index.php redirect. L means last rule, so any other redirect after that won't work. For solving this, you could always place the https rule before the index.php redirect rule. Anyway, don't touch the htaccess anymore, because it works for you now. If it isn't broke, don't fix it. 
Obviously he is using apache, otherwise there won't be a htaccess atall.
what's your server configuration ? apache, nginx, etc ?
Obviously he is using apache, otherwise there won't be a htaccess atall.