WordPress.org

Ready to get started?Download WordPress

Forums

feed make my adsense go away (3 posts)

  1. chaaban
    Member
    Posted 8 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 ?

    Thank's

  2. chaaban
    Member
    Posted 8 years ago #

    any comments ?

  3. chaaban
    Member
    Posted 8 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

Tags