Ноиндекс и нофоллов

Знайка
На сайте с 09.06.2013
Offline
6
475

Как применить эти атрибуты к коду:

Это файл sidebar-front.php в теме twentytwelve (Вордпресс):

<?php
/**
* The sidebar containing the front page widget areas.
*
* If no active widgets in either sidebar, they will be hidden completely.
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/

/*
* The front page widget area is triggered if any of the areas
* have widgets. So let's check that first.
*
* If none of the sidebars have widgets, then let's bail early.
*/
if ( ! is_active_sidebar( 'sidebar-2' ) && ! is_active_sidebar( 'sidebar-3' ) )
return;

// If we get this far, we have widgets. Let do this.
?>
<div id="secondary" class="widget-area" role="complementary">
<?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
<div class="first front-widgets">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</div><!-- .first -->
<?php endif; ?>

<?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
<div class="second front-widgets">
<?php dynamic_sidebar( 'sidebar-3' ); ?>
</div><!-- .second -->
<?php endif; ?>
</div><!-- #secondary -->

А это файл sidebar.php в той же теме:

<?php
/**
* The sidebar containing the main widget area.
*
* If no active widgets in sidebar, let's hide it completely.
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
?>

<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->
<?php endif; ?>

Получается сайдабар правый, в котором 50 ссылок на категории. Нужно как-то лишить их веса. Да и вообще чтобы внимания на них не обращал поисковик.

Туда копаю вообще?

Как Trustlink кидает вебмастеров (http://webmasters.ru/forum/f108/trustlink-zanyalsya-moshennichestvom-prisvoil-000-rublei-moego-dohoda-47182/) - феерический топик.
melkozaur
На сайте с 06.04.2010
Offline
536
#1
Знайка:
Получается сайдабар правый, в котором 50 ссылок на категории. Нужно как-то лишить их веса.

Типа, убить перелинковку на сайте?

Знайка
На сайте с 09.06.2013
Offline
6
#2

melkozaur, зачем. Перелинковка со статей идет. А эти ссылки только в плане навигации полезны.

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий