Closed (won't fix)
Project:
Noindex External Links
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Jun 2010 at 01:02 UTC
Updated:
22 Feb 2013 at 15:49 UTC
Собственно, сабж. Почему бы не добавить target="_blank" в дополнение к rel="nofollow"?
По-моему, это весьма актуально для ссылок на сторонние ресурсы, разве это не так?
Comments
Comment #1
mibfire commentedIt would be good if there will be a possibility to choose to add target="_blank" to nofollow links.
for example
if (strpos($attr, 'nofollow') === FALSE) {
if (strpos($attr, 'target') === FALSE) {
$attr .= ' target="_blank" ';
}
if (strpos($attr, 'rel="') === FALSE) $attr = $attr .' rel="nofollow" ';
else $attr = preg_replace('!rel="([^"]+)"!', 'rel="${1} nofollow"', $attr);
}
and it would be optional.
Comment #2
ftomivec commentedСтрока 222
просто заменил код
почистил кеш и все ссылки стали через бланк
Comment #3
SimonLitt commentedComment #4
SimonLitt commentedThis module only deny indexing.