Updated htaccess rewrite rules