diff --git a/interface/common/blog/begin.php b/interface/common/blog/begin.php
index 9d4b06a47..0e2c4e9b8 100644
--- a/interface/common/blog/begin.php
+++ b/interface/common/blog/begin.php
@@ -18,8 +18,11 @@
$view = str_replace('[##_SKIN_body_start_##]',getUpperView(isset($paging) ? $paging : null).'[##_SKIN_body_start_##]', $view);
$view = str_replace('[##_SKIN_body_end_##]',getLowerView().getScriptsOnFoot().'[##_SKIN_body_end_##]', $view); // care the order for js function overloading issue.
$automaticLink = " getProperty('uri.default')."/resources/style/system.css\" type=\"text/css\" media=\"screen\" />\n";
-$canonicalLink = " getProperty('uri.permalink')."\"/>\n";
-
+if (!is_null($context->getProperty('uri.permalink',null))) {
+ $canonicalLink = " getProperty('uri.permalink')."\"/>\n";
+} else {
+ $canonicalLink = '';
+}
dress('SKIN_head_end', $canonicalLink.$automaticLink."[##_SKIN_head_end_##]", $view);