Update .htaccess

I tested it, works properly in the root and subdirectories, you still need to test.