Articles

 .htaccess guidance

.htaccess is a special Apache file that tells your website how to function. You can edit the...

 301 Permanent redirects for parked domain names

If you have several domain names parked/pointed at your site it is a good idea to create...

 Block Bad robots, spiders, crawlers and harvesters

There are lots of examples across the internet that use ModRewrite. We will provide such an...

 Can you provide a custom package for me?

Yes, most definitely. Simply open up a helpdesk ticket in the Sales department or contact us...

 Change PHP variables using .htaccess

If you need to change the way your PHP is working you can do that using .htaccess.Please, note...

 Change default directory page

Most probably you have been wondering how the Webserver decides which page from your site to...

 Common Apache mod_rewrite and examples

I am going to give you some common dot-htaccess codes our customers love. Please remember we do...

 Force SSL/https using .htaccess and mod_rewrite

Sometimes you may need to make sure that the user is browsing your site over a secure...

 Force www vs non-www to avoid duplicate content on Google

Recently, it has been talked a lot about Google and duplicate content as well as Google Canonical...

 How to add Mime-Types using .htaccess

In the event you are hosting elsewhere, and your web hosting account is not configured to...

 How to block users from accessing your site based on their IP address

Blocking users by IP address is pretty simple with .htaccess.So here it is the example:Order...

 How to prevent or allow directory listing

Having a listable directories on your site sometimes is useful. However, some times it can be...

 Make PHP work in your HTML files with .htacess

By default most web servers across the internet are configured to treat as PHP files only...

 Redirect URLs using .htaccess

Sometimes you need to redirect some URL and/or page on your site to another one.The feature is...

 Using .htaccess for password protecting your folders

If you need to have certain areas (folders or files) of your web site protected you can use...

 www and non-www .htaccess rewrite rules

Here's the complete library for use in .htaccess: # Redirect if NOT www.example.com (exactly) to...