code: public function getCanonical ()
  	{
  		if (empty($this->advanced['canonical']))
  			return \Craft::$app->request->absoluteUrl;
  
  		return $this->advanced['canonical'];
  	}
docs: Returns the canonical URL (falling back to the current URL if not set)
  
  @return string