Title: canonical code
Last modified: August 19, 2016

---

# canonical code

 *  [patman2222](https://wordpress.org/support/users/patman2222/)
 * (@patman2222)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/canonical-code/)
 * I am not a webmaster (I am not a code poetry adept) but rather a newbie if not
   a dummy. I´m refering canonical url
 * One source says
    <link rel=”canonical” href=”[http://(main](http://(main) content
   page)” />
 * You say
    Adds **rel=”canonical”** URL’s of your choice to the <head> of your 
   posts and pages, instead of the default canonical link that was.
 * I have to add what is bold (Imade it bold for the exemple)
    WHat is correct ?
   And as well, does it mean I shall add that whenever typing a new post ? or adding
   a new page ?
 * As I said, newbie….
 * Thank you

The topic ‘canonical code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/canonical.svg)
 * [Canonical URL's](https://wordpress.org/plugins/canonical/)
 * [Support Threads](https://wordpress.org/support/plugin/canonical/)
 * [Active Topics](https://wordpress.org/support/plugin/canonical/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/canonical/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/canonical/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [patman2222](https://wordpress.org/support/users/patman2222/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/canonical-code/)
 * Status: not resolved