Portal Home > Knowledgebase > .htaccess

Articles

 301 Redirect for All Domains

So you've purchased a ton of domains to park on your main account, but you don't want Google to penalize you for having duplicate content. And you know that you could go through your .htaccess file...

 Force folder to redirect to https mode

Sometimes webmasters need to force particular folders to load in HTTPS mode. This is ideal for management of a back end of a shopping cart, or a forum or other scripts where sensitive information...

 Hotlink protecting image.php and GD images

So you've enabled cpanel's hotlink protection, but those bandwidth theives are still attacking your dynamically generated images. And while we've seen protecting the entire .php extension fix this...

 How to block an IP

To block an IP you will need to edit the .htaccess file on your site. If you do not have an .htaccess file created, you can create one by making a text file and uploding it to your /public_html...