How to fix the canonical issues on our website

How to fix the canonical issues on our website

canonical URLs can be a big issues for search engines. A canonical URL issue is one where the search engine has to figure out that several different URLs are actually they redirecting to same page and which one of those URLs is the best one to index. Unfortunately, the search engines are unable to find out and correctly without help from the site owner.

The best way to fix canonical issue on canonical URLs before the search engines find them. The most common canonical URL potential problem is the www versus the non-www version of your website URL. You need to redirect the both with or will pointing to same website. But in terms of search engine they are two different pages. So you need to redirect some of our techniques to solve this issues.

Fix canonical issues in apache server with .htaccess file If your website runs on a Unix server (or a *nix server with Apache), you can fix canonical issues by redirecting with .htaccess files. You simply will be redirecting the non-preferred version of your URLs to the preferred version.

Use of apache .htaccess file for redirecting the site on www urlredirecting with .htaccess from non-www version to the www version according to rule.

Go to your website root find the .htaccess file Open your .htaccess file and add the following lines:
RewriteEngine OnRewriteCond %{HTTP_HOST} !^$ [NC]RewriteRule ^(.*)$$1 [L,R=301]M

Save your .htaccess file and upload to your server. Now check your website. Now your website running with no matter how you have open you website url you can type without www like you can type in your browser and you can see that your site will redirecting to

After doing all above steps you are unable to show the effect of your website need to contact your hosting server and raise a ticket and then server customer service will solve your problem.

Loading Facebook Comments ...

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter the captcha code * Time limit is exhausted. Please reload the CAPTCHA.

we have updated our price to free for all the product. Dismiss