Questions tagged [nofollow]

nofollow is a value that can be assigned to the rel attribute of an HTML a element to instruct some search engines that a hyperlink should not influence the link target's ranking in the search engine's index.

nofollow is a value that can be assigned to the rel attribute of an HTML a element to instruct some search engines that a hyperlink should not influence the link target's ranking in the search engine's index.

It is intended to reduce the effectiveness of certain types of search engine spam, thereby improving the quality of search engine results and preventing spamdexing from occurring.

Example:

<a href="http://www.example.com/" rel="nofollow">Link text</a>
152 questions
2
votes
2 answers

SEO: secure pages and rel=nofollow

Should one apply rel="nofollow" attribute to site links that are bound for secure/login required pages? We have a URI date based link structure where the previous year's news content is free, while the current year, and any year prior to the last,…
virtualeyes
  • 11,147
  • 6
  • 56
  • 91
2
votes
1 answer

Nofollow for the whole page?

Is it possible to add a nofollow for the whole page instead of rel="nofollow" for every link? I've got some profile pages where users can enter their contacts and other stuff which can be potentially spam, and I cba to alter the filters for wysiwyg…
Anonymous
  • 4,692
  • 8
  • 61
  • 91
2
votes
2 answers

How to add nofollow attribute to wordpress category list?

well, this code fetches the category list and display it in the theme in which the post is assigned. I want to add nofollow tag to this out list. I surfed the net and couldn't find a solution. The only solution I found was to modify the wordpress…
Aamir Usman
  • 225
  • 5
  • 14
1
vote
0 answers

Setting no-referrer no-opener and no-follow using htaccess

I want no-referrer, no-opener and no-follow for globe of my website. For all the pages and URLs. So, I thought doing with .htaccess Here is my code: Header set Referrer-Policy "no-referrer" Header set X-Opener-Policy…
1
vote
0 answers

Set noindex nofollow on posts from multiple categories using Yoast WordPress SEO

This Wordpress filter sets noindex nofollow for a single category, but how would I do the same for multiple categories, for example, if I wanted to noindex nofollow category1, category2, category3, etc add_filter( 'wpseo_robots',…
user3697526
  • 37
  • 10
1
vote
1 answer

php header: how to include nofollow in a location command

I am using: header("Location: https://www.link.com"); but I want to be able to specify a no-follow in it. In another post someone explained to use header("X-Robots-Tag: noindex, nofollow", true);. But how do I combine them? I tried…
1
vote
1 answer

Multiple, separate rel= tag attributes OK? (WordPress)

Is having two separate rel="" attributes in an a tag OK? It seems WordPress by default adds a rel="nofollow" tag to all external links. In the code these are added to the very beginning of the a tag. In order to add rel="me" attributes to my social…
George C
  • 153
  • 1
  • 11
1
vote
1 answer

How to get links not from a website using php and regular expression

I want to add rel="nofollow" in all links in my website if the links link to other website. For example, $str = "I swear this isn't spam!
Hello World"; The output should…
user503853
1
vote
1 answer

NoFollow Rel="sponsored" pre_replace

I use wordpress, I've added a bit of code to my functions.php to automatically all links as no-follow that don't meet certain conditions. Currently, if the link examplesite.com or examplesite2.com mark as dofollow else set to nofollow The code that…
Liss
  • 13
  • 3
1
vote
2 answers

Rails3 and automatic nofollow links

i have some model, let it be Post with field :content. Any user can submit post with html (with links of course:) ) and i'd like to set nofollow on those links. Is there any rails plugin to automate this task? Does this plugin have ability to manage…
Alexey Poimtsev
  • 2,845
  • 3
  • 35
  • 63
1
vote
1 answer

How to add nofollow to drop down

I have a drop down list which filters category ASC and DESC. Google doesn't seem to understand that is duplicate content. How can I prevent Google from not following the drop down selections:
steve
  • 11
  • 4
1
vote
1 answer

Adding no-follow to all external links in product-description WooCommerce

A website has 300 products and all with do-follow. I need to make them all no-follow and future links as well, but only if the links are inside the productloop. This code generates for the entire site. How Would I do it specifically to the…
1
vote
1 answer

How to change rel to nofollow with Regex - c#

i want to change some urls to nofollow and i also want, some urls dofollow i try to do it with this Regex : (]*)(href="https?://)((?!blogs.cc)[^"]+)"([^>]*)> i can support one url to dofollow (in this ex:"blogs.cc") if i want to…
1
vote
1 answer

How to fix - Indexed, though blocked by robots.txt?

I have just received an email regarding Index coverage issues for my site. The following file is indexed by the Google: root-of-my-site/files/custom.js Please note that I have disallowed /files folder in my .htaccess though Google has indexed a URL…
Rushda F
  • 49
  • 4
1
vote
1 answer

Adding "nofollow" tag to a single link in MediaWiki

I'm an administrator for a wiki (using MediaWiki), and one of our sponsored links has requested that we add the rel="nofollow" attribute to their links, since they are trying to comply with a new google policy. I purposefully disabled the global…
Stephen
  • 523
  • 1
  • 6
  • 16
1 2
3
10 11