Differences

This shows you the differences between two versions of the page.

english:phpwcms_replacer_rts:frontend_render:canonical-alias [2009/06/14 08:18]
Knut Heermann (flip-flop)
english:phpwcms_replacer_rts:frontend_render:canonical-alias [2018/06/03 18:09] (current)
Line 1: Line 1:
-{{indexmenu_n>700}}+{{indexmenu_n>20}}
====== Canonical alias (SUMA) ====== ====== Canonical alias (SUMA) ======
-**Blanks doubled content avoid and the showes the preferenced version of the URL during indexing.**+**Blanks doubled content to avoid it and then shows the preferred version of the URL during indexing.**
-Goolge placed a new Metatag for the search engines: <link rel="canonical", which avoid double content and shows a preferred version of a indexed URL. In large sitemap.php the webmaster tools often shows dozens from doubly indicated sides. Often sides are indexed with the category ID, then with a category alias or with index.php? + article ID´s at the same time. The contents is always the same.+Goolge placed a new Metatag for the search engines: <link rel="canonical", which avoids double content and shows a preferred version of an indexed URL. In large sitemap.php the webmaster tools often shows dozens of doubly indicated pages. Often pages are indexed with the category ID, then with a category alias or with index.php? + article ID´s at the same time. The contents is always the same.
Line 16: Line 16:
Docu: -- \\ Docu: -- \\
-Forum: [[http://forum.phpwcms.org/viewtopic.php?f=8&t=17949&p=114312#p114312|Wiederkehrenden Begriff durch Variable ersetzen]]+Forum: [[http://forum.phpwcms.org/viewtopic.php?p=114312#p114312]]
Line 58: Line 58:
// ---------------------------------------------------------------- // ----------------------------------------------------------------
-$block['custom_htmlhead']['index.php']   = '  <link rel="canonical" href="index.php?'.$GLOBALS['content']["struct"][$GLOBALS['content']["cat_id"]]["acat_alias"].'" />';+$block['custom_htmlhead']['index.php']   = '  <link rel="canonical" href="index.php?'.$content["struct"][$content["cat_id"]]["acat_alias"].'" />';
// -----------[ CLOSE ]---------------- // -----------[ CLOSE ]----------------
?> ?>
</code> </code>
english/phpwcms_replacer_rts/frontend_render/canonical-alias.1244960336.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0