Fixed .htaccses rewrite rules