What is Canonical URL issue: How to Finding and Fixing SEO Canonical Issues

If you have a website and you want it to come at the top of the search, then you will have to take full care of the Canonical URL, because if your post is indexed by more than one URL in Google, then it will not be ranked in the ranking. Heavy loss may occur. So let us know what is Canonical URL and how to correct the Canonical Issue.

What is Canonical URL?

Canonical URL or Canonical Link is the same thing, which is used in HTML. It is used in the form of SEO, where by using Canonical Tag, if the same page in our website opens with the same URL, then we tell which URL is the highest, so that there is no duplicate content in the search. Be visible and get benefit in ranking.

What is Canonical issue?

A canonical issue arises when 301 redirects do not occur properly. This means that your website can be accessed by search engines from many different URLs. This means that search engines can potentially index your site under different URLs, which means it will look like a site with duplicate content.

For example if you have a website: http://www.example.com then the index page can be accessed from all the following urls:
  • http://www.example.com
  • http://www.example.com/index.html
  • http://example.com
  • http://example.com/index.html
How to solve Canonical issue?

Today I will share with you 3 ways to solve this issue. Which will solve your problem 100%.

The best and most effective way to resolve the Canonical issue is with a permanent 301 redirect. This can be implemented with the detailed information given below. Depending on which server your website is hosted on, the methods you use to enforce redirects will depend.

It's also worth logging into Google webmaster tools and setting up two profiles for your domain; world Wide Web. Another non with the prefix www.. Then go to the site “configuration > setting > preferred domain” and choose which domain you want to use.

1 How to implement 301 redirect with .htaccess file?

If you have your website hosted on any of the following types of servers you will be able to use a .htaccess file:
  • Linux
  • Apache
  • Zeus
  • Sun Java
These are the most common hosting servers and are also the easiest to implement permanent 301 redirects. Simply copy the code into your existing .htaccess file if you want, open a blank notepad document and save it as .htaccess.

syntext codeOptions +FollowSymLinks RewriteEngine onRewriteCond %{HTTP_HOST} ^ example.com [NC] RewriteRule ^(.)$ http://www.example.com/$1 [L,R=301] RewriteCond %{REQUEST_URI} ^(.)//(.)$ RewriteRule . http://www.example.com%1/%2 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(([^/]+/))index.html\ HTTP/ RewriteRule index.html$ http://www.example.com/%1 [R=301,L]\

You have to replace example.com domain name with your domain name. Depending on your site you may or may not have a .php index page, either way check it on your website and change it accordingly.

Once you've edited the code and copied it into the .htaccess file, save it and upload it to the root of the domain (same location as the index page). These two pieces of code will redirect anyone arriving to the site to www. prefix is ​​included. And /index.html from the root domain.
301 redirect using Windows server?

If you host your website on a Windows server, you will need administrative access to the hosting server and will need to perform a 301 redirect on IIS.Go to “All programs > administrative tools > internet information service”

Navigate to the domain and right click on it, then select “properties”

Click on “Home directory” tab

Select the radial button “A URL to redirect”

Then enter the URL you want to redirect (e.g. http://www.example.com)

Click on “Ok”

Applying canonical url using Yoast plugin?

Yoast SEO (free or premium) adds canonical URLs to your WordPress install for all content selected for indexing by search engines. It works automatically in 99.9% cases. You do not have to make any major changes for this.

If you want to change them, there is a separate box for this in the Yoast plugin at the bottom when writing a post , where you can enter the canonical URL.

Some steps are given below. You can easily understand by following them.

1: Log in to your WordPress website.

(When you are logged in, you will be in your 'Dashboard'.)

2: Edit the post, page or taxonomy.

(On the left, you'll see a menu that will allow you to navigate to your posts, pages, and other content. Navigate to individual items to edit content settings.)

3: For post and page, scroll down to the Yoast SEO metabox. Under the 'SEO' tab, click to expand the 'Advanced' section.

4: Full canonical URL, which can include http/s and www or non-www. Enter this in the 'Canonical URL' field.

5: Update the post, page or taxonomy.

Note: It will take some time for the Canonical Issue warning to be removed after updating the Search Console, but your canonical issue will have been resolved.

So friends, hopefully now you have understood what Canonical URL is and what is its importance in SEO, and if there was an error in your Search Console too, then how to fix it.

You must be using Search Console, but you may not know the necessary settings of Search Console which are necessary. This is his information.

How did you like the information? Do let us know by commenting, and if you have any other information related to blogging then you can also ask by commenting.
Previous Post
Next Post
Related Posts