Page is a not externally linkable
incrediBILL - 4:58 am on Feb 3, 2013 (gmt 0)
You can embed PHP variables in HTML like this:
<link rel="canonical" href="<?=$url?>"/>
Meaning you can put any href in the variable $url as long as the variable is created in PHP before the header is included.