If you want your website to have friendly URLs you can use this .htaccess code. With this example code, the URL domain.com/about would cause the page about.htm to load. RewriteEngine On RewriteRule ^([^\./]+)$ /$1.htm [L] With the above example, if there is no dot or slash in the requested name, and the request is not empty (meaning the default page), it will take the request and put .htm on the end. Rewrites and https If you are using https, then you may need to make some changes to your .htaccess code. If you are doing rewrites that use the full URL (for example http://domain.com/page.htm) and you will be switching between http and https, then you will need to add a RewriteCond to your code. You will need to test for https and code the full URL accordingly (using http or https). The following examples show how to test for https or the lack of https. RewriteCond %{HTTPS} on RewriteCond %{HTTPS} !=on Blocking traffic to your website To block an IP address or a domain