Tuesday, September 11, 2012

Working Tutorial - How to solve 301 redirect problem using .htaccess

301 redirects are used to permanently move a site to a new location. Search engines do not apply penalties to 301 redirects the way they apply them to many other types of redirects.
Some times when you generate SEO reports you see 301 redirect problem. The most common one is you website example.com is not redirecting to www.example.com. Redirecting requests from a non-preferred domain is important because search engines consider URLs with and without "www" as two different websites.

Note: if you solve this problem then you will see 15% increase in search traffic

use Following Code in your .htaccess file
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^openplus.in [nc]
rewriterule ^(.*)$ http://www.openplus.in/$1 [r=301,nc]

Replace openplus.in with your domain name.
This tutorial is tested for domain openplus.in , server used apache.

Delicious Save this on Delicious


  1. Its working , do you have any tutorial of url rewrite , if yes please publish .

  2. i facing similar problem with my website http://youreduguide.com and http://www.youreduguide.com can u pls help me i'm using website builder for that, can it be solve without .htaccess

    1. I have checked your website, it works well, right now you are not suffering from 301 redirect problem. I have a suggestion for your website use div instead of table and concentrate on w3c validation.


If you have any Question , Suggestion or idea then please comment regarding the post.