Resolve The Canonical Issue with The Help of 301 Redirect

Hello reader!

In this Blog I will cover the topic, Canonical Issue, There Consequences and how to Resolve and get rid from such issues.

So lets first start with,

What is Canonical Issue

When the same content is displayed by the one website in different url then there is a canonical issue. For example- your website is and while entering the url in browser by and (without www) it show same content without redirecting it to or means that one should be the preferred url either www Or without www.

Consequences of Canonical Issues

In such case Search Engine (Google, Yahoo, Bing etc) index both the pages one which includes www and other one without www ( and separately which will lead to content duplicacy and will penalize the webpage.

How to Resolve Canonical Issue

To resolve such issue you have to make one preferred url either www or without www.

For example if you take a preferred url and user enter directly in browser it will be redirected to

Now the question comes how to make one preferred URL

To make one preferred url web developer have to implement (301 redirect code) URL Redirection via code htaccess redirect in at backend of the website and set the status as “moved permanently”.

How to Redirect to www using htaccess redirect

With the below code you can create a .htaccess file, which will ensure that all requests coming to i.e will get redirected to The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

  1. Options +FollowSymlinks
  2. RewriteEngine on
  3. rewritecond %{http_host} ^ [nc]
  4. rewriterule ^(.*)$$1 [r=301,nc]

Please use or take and with your actual domain/url name.

For more help please visit the web link below: Resolve 301 Redirect

Resolve The Canonical Issue with The Help of 301 Redirect

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s