I read this link & even this also, but I am still confused. That's why I plan to ask here, Please confirm me with your answer.
My doubt is I have two pages: GridViewPage.php & ListViewPage.php having same content. So according to this in which page I have insert this code <link rel="canonical" href="which url I should put here"/>.
And for opening GridViewPage.php page URL looks like: http://example.com/article/show/abdominal-exercises/abdominal-crunch/79/87/list/.
& for opening GridViewPage.php page my URL looks like: http://example.com/article/show/abdominal-exercises/abdominal-crunch/79/87/grid/.
Note: 79/87 are the dynamic database table id's.