Added rewrite rules to htaccess