fixed htaccess file to rewrite URLs correctly