Reorder htaccess rewrite rules