Page is a not externally linkable
- Google
-- Google SEO News and Discussion
---- Search Engines Agree on "Canonical tag"


fsmobilez - 10:45 am on Feb 18, 2009 (gmt 0)


Thanks tedster for answering to my 2nd question

but what about first question how can i implent this code in my dynamic site

Let say my site urls are like this

www.example.com/category/post.php?post_id=1&cat=1
www.example.com/category/post.php?post_id=2&cat=1
www.example.com/category/post.php?post_id=1&cat=2
www.example.com/category/post.php?post_id=2&cat=2
www.example.com/category/post.php?post_id=1&cat=100

and so on
www.example.com/category/post.php?category.php?cat_id=1
www.example.com/category/post.php?category.php?cat_id=2

and so on

well my site generate dynamic links like for post it generates links like this

www.example.com/category/post.php?post_id=2&cat=1&mostviews
www.example.com/category/post.php?post_id=2&cat=1&random
www.example.com/category/post.php?post_id=2&cat=1&mostemailed

and same for categories

so will u plz help me adding this code in header

should i have to add code like this

<link rel="canonical" href="http://www.example.com/category" />

Or how , will u plz post me the exact code i can add in my site header


Thread source:: http://www.webmasterworld.com/google/3848488.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com