Vincitrice
Threadersteller
Dabei seit: 07.02.2006
Ort: Swan Station
Alter: 35
Geschlecht:
|
Verfasst Mo 27.10.2008 13:04
Titel Wordpress: Duplicate Content vermeiden |
|
|
Hallo,
ich habe folgendes Problem...ich will ausschließen das Suchmaschinen meine Seite wegen Duplicate Content abstufen. Das kann man mit "nofollow" erreichen. Kategorien, Tags, Archivseiten, eben alles was DC erzeugt sollen ausgeschlossen werden von der Indizierung. Nun weiß ich nicht wirklich wie ich das mache. ich muss das per Hand erledigen, da Plugins keine Wirkung hatten (weshalb auch immer). Deswegen habe ich mir eine manuelle Anleitung im Netz gesucht. Nun sieht meine Header.php wie folgt aus...
Bin ich damit jetzt vor DC gewappnet? Sind Fehler dran? Was muss ich tun damits klappt?
----------------------->
Code: | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="robots" content="index,follow" />
<link href="http://www.martin-boose.de/favi/favicon.ico" rel="shortcut icon"></link>
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="<?php bloginfo('template_directory'); ?>/pngfix.js"></script>
<![endif]-->
<?php wp_head(); ?>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<?php if ( $paged > 1 ) {
echo ‘<meta name=”robots” content=”noindex,follow” /> ‘;
}?>
<?php if (is_author() ) {
echo ‘<meta name=”robots” content=”noindex,follow” /> ‘;
}?>
<?php if (is_trackback() ) {
echo ‘<meta name=”robots” content=”noindex,follow” /> ‘;
}?>
<?php if (is_search() ) {
echo ‘<meta name=”robots” content=”noindex,follow” /> ‘;
}?>
<?php if (is_date() ) {
echo ‘<meta name=”robots” content=”noindex,follow” /> ‘;
}?>
</head> |
<---------------------------
Danke!
[edit by Nimroy]
Bitte [code]-Tags verwenden.
Zuletzt bearbeitet von Nimroy am Mo 27.10.2008 13:09, insgesamt 1-mal bearbeitet
|
|