Domain redirect
So you bought another domain name that matches one you currently have. You shouldn’t...
Prevent Hotlinking Static Content On Your Site
Add this to your .htacces file.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond...
Restrict access by IP
WARNING: Backup your current .htaccess file if you have one so you can quickly revert in...
Traffic source redirect
Need to redirect source traffic to another domain? Well, if you can’t modify the link...
redirect domain.com to www.domain.com
Sometimes its needed for site functionality for the www to appear in the URL for some scripts and...
restrict by IP or password
I find myself tired of having to answer the pop up authentication box to view my control panel...
rewrite base
Top directories can break functionality on sub directories. Case in point:Scenario: WordPress...
rewrite non SSL to SSL
Want to force users to use SSL on your site?Add this code to the top of your .htaccess file, edit...