• “Nofollow the links to your tag pages

    If you’ve decided to keep your tag pages from being indexed, you might as well stop throwing link-juice at them on each post…”

    This is actually broken if you look at the source of a post:

    Sample from mine:

    <div class="postmetabottom">
    
    <div class="tags">Tags: <a href="http://www.test.com/home/tag/action/" rel="nofollow tag">Action</a>,

    As you see, it actually puts rel=”no follow tag” instead of putting rel=”nofollow”.

    This explains why all my tags are being indexed by Google despite my best efforts to prevent it.

    Hope to see this fixed.

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter yacoub

    (@yacoub)

    Yoast: Any chance this will get fixed, if it is indeed a bug with Robots Meta?

    Thread Starter yacoub

    (@yacoub)

    Hoping this bug will get fixed…

    Thread Starter yacoub

    (@yacoub)

    It puts rel=”nofollow tag” in the code instead of rel=”nofollow”.

    Thread Starter yacoub

    (@yacoub)

    The new version of Robots Meta plugin still has this bug, so link juice loss and spider following through to your Tag pages still occurs.

    melstan1

    (@melstan1)

    dude, you can access the code in the edit screen. Why don’t you just fix it yourself? If you want to use the plugin and this is the only mistake, you can do it yourself and not wait on the developer.

    willard97

    (@willard97)

    dude, I tried editing the code and it still didn’t work.

    From this:
    function nofollow_taglinks($output) {
    $output = str_replace(‘rel=”tag”‘,’rel=”nofollow tag”‘,$output);
    return $output;

    To this:
    function nofollow_taglinks($output) {
    $output = str_replace(‘rel=”nofollow”‘,$output);
    return $output;

    Didn’t work.

    spotcream

    (@spotcream)

    are you using any cache plugins ??

    willard97

    (@willard97)

    Yup, using WP Super Cache.

    spotcream

    (@spotcream)

    disable the cache plugin then try as you might be viewing the cached file and not the real one…

    willard97

    (@willard97)

    Nope, still not working. Disabled Super Cache and retried.

    Even tried a new post to see if that would change anything.
    http://sellitontheweb.com/blog/

    Is the edited syntax above correct? Should that work?

    I tried this, and it seemed to work:

    From this:
    function nofollow_taglinks($output) {
    $output = str_replace(‘rel=”tag”‘,’rel=”nofollow tag”‘,$output);
    return $output;

    To this:
    function nofollow_taglinks($output) {
    $output = str_replace(‘rel=”tag”‘,’rel=”nofollow”‘,$output);
    return $output;

    Remember that str_replace(a,b,c) will replace instances of “a” with “b” in string “c”.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: Robots Meta] nofollow typo causes tags to be followed and indexed’ is closed to new replies.