What is Canonical Issue


Prev Tutorial Next Tutorial

How to Remove Canonical Issue

Canonical Issue arises when 301 redirects are not properly work. This mean your website access with different different url. If you do not fixed this problem search engine will be index your website with different different url, in result your website look like duplicate content.

canonical issue

For example you have a website with name www.sitesbay.com this website can be open with following different url.

  • http://sitesbay.com
  • http://www.sitesbay.com
  • http://sitesbay.com/index.html
  • http://www.sitesbay.com/index.html

How to Remove Canonical Issue

To remove this problem redirect all urls on single url. Some methods to solve this problem are given below;

Create .htaccess File

Redirect WWW to non-WWW

RewriteEngine on
rewritecond %{http_host} sitesbay.com [nc]
rewriterule ^(.*)$ http://sitesbay.com/$1 [r=301,nc]

Redirect non-WWW to WWW

RewriteEngine on
rewritecond %{http_host} sitesbay.com [nc]
rewriterule ^(.*)$ http://www.sitesbay.com/$1 [r=301,nc]

.htaccess: This file is mainly used for redirect url, to create this file you can create any file and save with .htaccess file name.

Note: You can also redirect using cpanel.

remove using cpanel
Prev Tutorial Next Tutorial

Advertisements
z
Download Projects

Advertisements

Download WhatsApp Status Video

Buy This Ad Space Only $50 per Month, Ad Size 300X250 Contact on: [email protected] WhatsApp no. 8882538826

Google Adsense Advertisements