NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms_replacer_rts:frontend_render:canonical-alias [2009/06/14 00:02] Knut Heermann (flip-flop) created |
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 hat ein neues Metatag für die Suchmaschinen zur Vefügung gestellt: <link rel="canonical", welches dazu dient doppelten Content zu vermeiden und die präferierte Version einer URL bei der Indizierung anzuzeigen. In großen sitemap.php meckern die Webmastertools häufig über dutzende von doppelt indizierten Seiten. Es werden oft Seiten einmal mit der Kategorie-ID, dann mit dem Kategorie-Alias oder mit index.php? + Artikel ID´s gleichzeitig indiziert, der Inhalt ist aber immer der gleiche. | ||
| - | /* | + | 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. |
| - | Goolge placed a new Metatag for the search engines: <link rel="canonical", which in addition serves double content to avoid and the präferierte version URL with the indexing to indicate | + | |
| - | */ | + | |
| Explaining link: | Explaining link: | ||
| Line 18: | 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 60: | 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> | ||