Ciao a tutti, ho un piccolo problema con wordpress e phpstats.com
Io quando visualizzo le pagine del blog, appena installato, vedo il titolo della finestra che mi aspetto, ma nelle statistiche del phpstats, vedo: "solo un altro weblog targato wordpress"
da cosa può dipendere? Non è che manda questo titolo anche agli spider?
come risolvo?
ecco le parti di codice incriminato:
header.php
Codice PHP:
<?php include("pagefunctions.php"); ?>
<!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="distribution" content="global" />
<meta name="robots" content="follow, all" />
<meta name="language" content="en" />
<title><?php if (is_home() ) {?><?php bloginfo('description');?> | <?php bloginfo('name'); }
elseif ( is_single() ) { ?><?php wp_title(''); ?> | <?php $cat = get_the_category(); $cat = $cat[0]; echo $cat->cat_name; ?> | <?php bloginfo('description'); }
elseif ( is_page() ) { ?><?php wp_title(''); ?> | <?php bloginfo('description'); }
elseif ( is_category() ) { ?><?php single_cat_title('');?> | <?php bloginfo('description'); }
elseif ( is_archive() ) { ?><?php wp_title(''); ?> | <?php bloginfo('description'); }
elseif ( is_search() ) { ?><?php echo $s; ?> | <?php bloginfo('description'); }
/* elseif ( is_tag()) {$tagTitle = preg_replace('/-/' , ' ' , $tag); echo ucwords($tagTitle); ?> | <?php $cat = get_the_category(); $cat = $cat[0]; echo $cat->cat_name; ?> | <?php bloginfo('description'); } */
else { ?><?php wp_title(''); ?> | <?php bloginfo('description'); }?>
</title>
<meta name="distribution" content="global" />
<meta name="robots" content="follow, all" />
<meta name="language" content="en" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php if (is_single() and ('open' == $post-> comment_status) or ('comment' == $post-> comment_type) ) { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/prototype.js.php"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/effects.js.php"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/ajax_comments.js"></script>
<?php } ?>
<?php if (is_page() and ('open' == $post-> comment_status)) { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/prototype.js.php"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/effects.js.php"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/ajax_comments.js"></script>
<?php } ?>
<style type="text/css" media="screen">
</style>
<?php wp_head(); ?>
</head>