How to nofollow certain pages ?

5 replies
  • SEO
  • |
Hello Warriors,

I run a tech blog self hosted on wordpress and I require some help from you all.

I want to use the nofollow tag to certain pages of my blog (about, contact.....) and I'm unaware how to do it ?

Any help will be appreciated

Thanks
#nofollow #pages
  • Profile picture of the author richardjmartinez
    edit the code of your blog.. and in the css.. put the rel on link tag
    {{ DiscussionBoard.errors[4079000].message }}
  • Profile picture of the author yukon
    Banned
    1) Backup your site.

    2) Visit the Wordpress Page that you want to NOFOLLOW, & get the the number of the page that Wordpress assigned to that specific page when it was first created.

    In the example below we need to make a note of the number 87.

    [example]
    hxxp://www.domain.com/wp-admin/post.php?post=87&action=edit

    3) Open your Wordpress theme editor & go to header.php, then paste the following code one line above the </head> tag.

    <?php if ( is_page(87) ) { ?>
    <meta name="robots" content="nofollow" />
    <?php } ?>
    4) Repeat the above steps for each page that you want to display the NOFOLLOW tag.
    {{ DiscussionBoard.errors[4079048].message }}
  • Profile picture of the author salmanbaig
    Thanks Yukon for your help, could you also provide details on how to add nofollow to "read more" links.
    {{ DiscussionBoard.errors[4079613].message }}
  • Profile picture of the author illsm113
    Dofollow, nofoolow always a big problem.
    Signature
    {{ DiscussionBoard.errors[4079620].message }}

Trending Topics