diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-07-09 19:30:48 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-07-09 19:30:48 +0200 |
commit | 69db0caf33d28c400e259b5455173c70f44a2063 (patch) | |
tree | 785ede691bab5b5d4c0e74b8ba3c72986b243989 | |
parent | 6ee35b9ff0a77dd8b936e6386093673fd7e4841c (diff) | |
download | rpg-69db0caf33d28c400e259b5455173c70f44a2063.tar.gz rpg-69db0caf33d28c400e259b5455173c70f44a2063.tar.bz2 |
relÊnonical support
Ignore-this: 2b720d0545643c18b49234e0a26e99b4
darcs-hash:20090709173048-7ad00-b5b5b4f2524533c3964152b595bef39449398610.gz
-rw-r--r-- | inc/template.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php index 6e8c0d718..0c528c800 100644 --- a/inc/template.php +++ b/inc/template.php @@ -298,6 +298,7 @@ function tpl_metaheaders($alt=true){ }else{ $head['meta'][] = array( 'name'=>'robots', 'content'=>'noindex,nofollow'); } + $head['link'][] = array( 'rel'=>'canonical', 'href'=>wl($ID,'',true,'&') ); }else{ $head['meta'][] = array( 'name'=>'robots', 'content'=>'noindex,follow'); } |