Canonical Issue :
A canonical URL or link is an HTML tag which is incorporated within the html file to avoid the duplicate issue with the two different variations of the domain which is with and without WWW.
For illustration: http://example.com/index.html and http://example.com (or) http://www.example.com might not redirect to the same page, since the two urls are containing the same content which we can consider as a Home page of a website, As google is operated via bot containing the algorithmic rules , considers as a duplicate page or duplicate content.
To verify the URL listed in the Google search engine, please use the below given steps
site:www.example.com and site:example.com
Find the urls of the page containing with or without WWW
How to add REL canonical ,
The rel=canonical should be added in the webpage's sourcefile, find the code below,
<link rel="canonical" href="url" />