The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

feed make my adsense go away (3 posts)

  1. chaaban
    Posted 10 years ago #

    hello ,

    i have this problem , when people search for some keywords they get my /feed/ directory instead of the real page .

    so if someone were searching for "google" they will get

    domain/google/feed/ instead of domain/google

    did anyone got this problem ? anyway of maybe redirection to the real topic ?


  2. chaaban
    Posted 10 years ago #

    any comments ?

  3. chaaban
    Posted 10 years ago #

    ok i think i got the solution .

    i edited my

    comments_rss_link function (wp-includes/feed-functions.php)

    to add : rel='nofollow'

    on the rss feed link .

    function comments_rss_link($link_text = 'Comments RSS', $commentsrssfilename = '') {
    $url = comments_rss($commentsrssfilename);
    echo "<a rel='nofollow' href='$url'>$link_text </a>";

Topic Closed

This topic has been closed to new replies.

About this Topic