[9.1.00] Canonical phase 2

This commit is contained in:
fredtempez 2019-05-03 23:12:49 +02:00
parent 2dbfb2626e
commit 38d5c66697

View File

@ -2164,7 +2164,7 @@ class layout extends common {
public function showMetaTitle() {
echo '<title>' . $this->core->output['metaTitle'] . '</title>';
echo '<meta property="og:title" content="' . $this->core->output['metaTitle'] . '" />';
echo '<link rel="canonical" href="'. helper::baseUrl(true) .'" />';
echo '<link rel="canonical" href="'. helper::baseUrl(true).$this->getUrl() .'" />';
}
/**