1. Creaky

    How do I redirect my site using a .htaccess file?

    This document will explain how to create a .htaccess file to redirect your site or site content. This will not redirect any emails for your domains. Create an empty text file using a text editor such as notepad, and save it as htaccess.txt.[/*] If using a text editor, be sure to save the file...
  2. Creaky

    Custom Error Pages

    The first use of the .htaccess file which I will cover is custom error pages. These will allow you to have your own, personal error pages (for example when a file is not found) instead of using your host's error pages or having no page. This will make your site seem much more professional in the...
  3. Creaky

    Block Users or Sites

    These commands will prevent certain ips and websites from accessing your website. Order Allow, Deny Deny from Deny from 891.01.1.2 Allow from all RewriteEngine on # Options +FollowSymlinks RewriteCond %{HTTP_REFERER} blocksite\.com [NC] RewriteRule .* - [F]
  4. Creaky

    Prevent Hot Linking

    Hot linking is when someone is pulling your images index from your server and using your bandwidth. RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?*$ [NC] RewriteRule \.(gif|jpg|js|css)$ - [F]