A basic rewriting rule inside a .htaccess file looks like that: