SEO para Wordpress, h1 y h2 Tags
SEO October 12th, 2008
Empezaré ahora una serie de artículos sobre como mejorar tu blog Wordpress en cuanto a SEO (Optimización para motores de búsqueda).
1- Cambiar los h1
La mayoría de los themes / templates para wordpress no estan optimizados. El mayor problema es el uso erroneo de los headings (h1, h2, h3).
En Presentation > Main Index hay que cambiar
<h1 class=”storytitle”><a href=”<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?></a></h1>
por:
<h2 class=”storytitle”><a href=”<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?></a></h2>
2- h2 en el sidebar
Al igual que para h1, el h2 esta mal utilizado en los sidebars. Si tienes un tema con widget, tienes que encontrar el wp-includes/widgets.php y cambiar:
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’,
Change this to
‘before_title’ => ‘<div class=”sidebar_header>’,
‘after_title’ => ‘</div>’,
Actualiza tu stylesheet.css creando #sidebar . sidebar_header. Por ejemplo si tenías:
#sidebar h2 {
font-size: 16px;
color: #3d3c38;
padding: 10px 0;
line-height: 18px;
}
crea:
#sidebar .sidebar_header {
font-size: 16px;
color: #3d3c38;
padding: 10px 0;
line-height: 18px;
}
3- Añadir h1 a las entradas únicas
Algo muy sencillo. En Presentation > Single Post, cambiar
<h2><a href=”<?php echo get_permalink() ?>” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”><?php the_title(); ?></a></h2>
por:
<h1><a href=”<?php echo get_permalink() ?>” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”><?php the_title(); ?></a></h1>
Related posts:
- SEO avanzado para WordpressEste es el tercer artículo sobre optimización para buscadores dedicado...
- 5 Top Plugins para WordpressEste es el cuarto artículo sobre optimización para buscadores dedicado...
- SEO para Wordpress, optimización básicaDespués de un primer artículo sobre la optimización de las...
Ollivier Jacq


