Category: Server Configuration

Htaccess 301 redirect and subdomains

[ 2 Comments ] Posted on April 25, 2009 under Server Configuration

Subdomains are treated by search engines as separate websites. Human visitors can also see this if the websites within the subdomains have different topics and overall appearance. Redirection between a subdomain and a domain, as well as between two subdomains are possible. Redirection from a subdomain requires separate .htaccess file located in the folder associated with that subdomain.

Using htaccess 301 redirect in folder or subdirectory

[ 1 Comment ] Posted on April 22, 2009 under Server Configuration

The 301 redirect in .htaccess file is used for redirection of incoming traffic from one domain to another. What if you want to redirect from one folder to another in the same domain? In different domains? From a domain’s root directory to one of its subdirectory and vice versa?

IP ban using htaccess file

[ No Comments ] Posted on April 18, 2009 under Server Configuration

The IP ban is the method of permanently banning a user from accessing a website by encoding his or her IP address in the htaccess file. It is very effective against persistent bots that keep on posting spam messages from the same IP address, but using it has the possibility of banning non-malicious users who happen to use the same computer and internet access.

Using 301 redirect in htaccess file

[ No Comments ] Posted on April 9, 2009 under Search Engine Optimization (SEO), Server Configuration

The 301 redirect is a method of redirecting traffic from an old domain to a new domain. The other methods of redirect are usually penalized by search engines because they are frequently used in black hat SEO tactics. On the other hand, search engines highly recommend the use of 301 redirect. Moreover, it is easier to setup because you need to edit only one file, the .htaccess.

Next Entries »