Restricting access to a website with .htpasswd If you want to temporarily restrict access to your website, one way to do this is to use the .htpasswd...
Limiting the .htaccess file size to 512 KiB In a shared hosting environment, the size of .htaccess files is limited to 512 KiB to ensure proper functioning of...
Examples of .htaccess rewrite rules Enable directory indexes Options +Indexes Blocking certain IP-addresses deny from 12.34.45.78 1.2.3.4 Allowing queries from one certain IP-address order deny,allow...
301 redirect with .htaccess file To redirect web-traffic the following lines of code are entered with text editor (Notepad, WordPad etc.) and then saved as...