Note that mod_rewrite can only be used with the web server Apache. Follow the instructions below to check whether module mod_rewrite is installed and correctly configured on your server.
Create the file .htaccess and add these two lines
RewriteEngin ...