Mustang
Préstamo
Eta
Buenas 😀, resulta que estaba haciendo algunas pruebas hace rato y encontre que al hacer una busqueda en Google con un "extracto" de algun post de mi blog, en vez de mostrar el post, muestra la index ejemplos:
Este post es de hoy:
Enlace eliminado
Y este es del 18 de noviembre:
Enlace eliminado
No creo que con el tiempo se solucione pues hace ya tiempo vi que salia igual, algunos posts si estan bien indexados, o de plano ni siquiera, creo que esto fue a partir del cambio de theme, pero no sé, alguien tiene alguna solucion? D: :thrasher:
Mmm ya coloqué la misma meta del theme pasado, este theme tenia como 5 xD
A ver si se arregla, gracias =D
Mmm ya coloqué la misma meta del theme pasado, este theme tenia como 5 xD
A ver si se arregla, gracias =D
<?php get_header(); ?>
<div id="main">
<div id="container">
<div id="header">
<div id="menu">
<ul>
<li><a href="<?php bloginfo('url'); ?>" title="home">Home</a></li>
<?php wp_list_pages('title_li='); ?>
</ul>
</div>
<div id="under_menu">
<div id="logo"><a href="<?php bloginfo('url'); ?>" title="home"><img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="logo" /></a></div>
<div id="ads1"><a href="logo"><img src="<?php bloginfo('template_directory'); ?>/images/ads1.png" /></a></div>
</div>
</div>
<div id="left_column">
<div id="content">
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<?php if (get_post_meta($post->ID, 'image',true)) { ?>
<div class="image_block">
<img src="<?php echo get_post_meta($post->ID, 'image', true); ?>" />
</div>
<?php } ?>
<div class="text_block">
<h2><a href="<?php the_permalink(); ?>"title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="info">Escrito en <?php the_time('M d'); ?> por <?php the_author_posts_link(); ?> | <?php comments_popup_link('0 Comentarios, opina!', '1 Comentario, deja el tuyo!', '% Comentarios, opina!'); ?></div>
<center><a href="http://bitacoras.com/anotaciones/<?php the_permalink() ?>"><img src="http://widgets.bitacoras.com/votar/mini2/<?php the_permalink() ?>" alt="votar" title="Votar esta anotación en Bitacoras.com" style="vertical-align:middle;border:0" /></a></center>
<?php the_content('<div class="info">(Leer Más...)</div>'); ?>
<?php wp_related_posts(); ?>
<center>
<p><img src="http://ocioxtremo.com/images/enviarposts.PNG" border="0"></p>
<a href="http://twitter.com/home?status=Leyendo%20<?php the_permalink() ?>" target="_blank">
<img src="http://ocioxtremo.com/images/geekball/twitter.png" border="0"></a>
<a href="http://www.facebook.com/share.php?u=<?php the_permalink() ?>" target="_blank">
<img src="http://ocioxtremo.com/images/geekball/facebook.png" border="0"></a>
<a href="http://del.icio.us/post?url=<?php the_permalink() ?>" target="_blank"><img src="http://ocioxtremo.com/images/geekball/delicious.png" border="0"></a>
<a href="http://www.technorati.com/faves?add=<?php the_permalink() ?>" target="_blank"><img src="http://ocioxtremo.com/images/geekball/technorati.png" border="0"></a>
<a href="http://ocioxtremo.com/feed" target="_blank"><img src="http://ocioxtremo.com/images/geekball/rss.png" border="0"></a>
</center>
<p>
<center>
Comparte este artículo: <input type="text" size="38" onfocus="this.select()" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px" value="http://ocioxtremo.com/?p=<?php echo $wp_query->post->ID ?>">
</center></p>
</div>
<div class="clear"></div>
<?php endwhile ?>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php endif; ?>
<div id="comments_template">
<?php comments_template(); ?>
</div>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
</div>
</div>
</body>
</html>
Si el código no vá me dices que veo que escribi mal, espero te sirva.<title>
<?php if (is_single() ) { ?>
<?php wp_title('-'); ?> <?php bloginfo('name'); ?>
<? } else { ?>
<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>
<?php } ?>
</title>
Una pregunta, que tiene que ver el single.php? :S si los meta se agregan todos en el header.php en <head> </head>
Si el código no vá me dices que veo que escribi mal, espero te sirva.
Pd: ahora que me fijé tu blog no tiene metas (keywords, ni description) pudes probar con el WordPress › All in One SEO Pack WordPress Plugins
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
<?php if ( is_home() ) { ?><?php bloginfo('name'); ?> | <?php bloginfo('description'); ?><?php } ?>
<?php if ( is_search() ) { ?><?php bloginfo('name'); ?> | Resultados de la Búsqueda<?php } ?>
<?php if ( is_author() ) { ?><?php bloginfo('name'); ?> | Archivos del Autor<?php } ?>
<?php if ( is_single() ) { ?><?php wp_title(''); ?> <?php } ?>
<?php if ( is_page() ) { ?><?php bloginfo('name'); ?> | <?php wp_title(''); ?><?php } ?>
<?php if ( is_category() ) { ?><?php bloginfo('name'); ?> | Archivo | <?php single_cat_title(); ?><?php } ?>
<?php if ( is_month() ) { ?><?php bloginfo('name'); ?> | Archivo | <?php the_time('F, Y'); ?><?php } ?>
<?php if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php bloginfo('name'); ?> | Archivo | <?php single_tag_title("", true); } } ?>
</title>
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="shortcut icon" href="http://ocioxtremo.com/favicon.ico" />
<?php wp_head(); ?>
</head>
<body>
<!-- All in One SEO Pack 1.6.8.1 by Michael Torbert of Semper Fi Web Design[236,362] -->
<meta name="description" content="Blog de ocio donde encontrarás lo mejor de la red para pasar un momento divertido" />
<meta name="keywords" content="videos, humor, tecnologia, fotomontajes, software, blog, descargas" />
<link rel="canonical" href="http://ocioxtremo.com/" />
<!-- /all in one seo pack -->
<?php
if (is_tag()) {
$description = get_bloginfo ( 'description' ). ' ' .get_bloginfo('name');
$keywords = get_bloginfo('name'). ' ' . get_bloginfo ( 'description' );
} else if (is_category()) {
$description = $post->post_title . ' ' .get_bloginfo ( 'description' );
$keywords = "";
$tags = wp_get_post_tags($post->ID);
foreach ($tags as $tag ) {
$keywords = $keywords . $tag->name . ", ";
}
} else if (is_date()) {
$description = category_description();
$description = $description .' '. get_bloginfo ( 'description' );
}
?>
<?php if ( $keywords =="" ){ ?>
<meta name="keywords" content="<?php echo get_bloginfo ( 'description' ) .' '. get_bloginfo ( 'name' ); ?>" />
<?php } else { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<meta name="description" content="<?php echo $description; ?>" />
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?