WWW and NON-WWW 301 Redirect

This article will show you how to redirect 301 from WWW to NON-WWW domain / NON-WWW to WWW. Many webmasters are confused when consider to choose preferred domain (www or non-www) for their websites and which version will have better SEO benefits. The answer is : you can pick www or non-www, both versions have same SEO benefits. But please remember that just choose one and redirect 301 other to your preferred version if you dont want to double your SEO efforts.

301 Redirect Rules:

You need to edit your .htaccess file locates at your root directory of your website. Then add redirect rules below:

Redirect from non-www to www

RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain.com 
RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]

From www to non-www

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.yourdomain.com 
RewriteRule (.*) http://yourdomain.com/$1 [R=301,L]

Continue reading “WWW and NON-WWW 301 Redirect”

How To Use H1-H6 HTML Elements Properly

Proper Use Of H1, H2, H3, H4, H5, H6 header elements

The six heading elements, H1 through H6, denote section headings. Although the order and occurrence of headings is not constrained by the HTML DTD, documents should not skip levels (for example, from H1 to H3), as converting such documents to other representations is often problematic. W3C

However you do not need to use all six elements to structure your pages.
For example:

Website Design Basics

Here is some text


Here is some text


Here is some text

Use Only One H1 Element on any page
Continue reading “How To Use H1-H6 HTML Elements Properly”