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
0
votes
0 answers

all *.mp3 download page for wordpress

I want the audio files on the site to be transferred to the page dow.php ,, and after counting 10 seconds, it will start downloading. my Current code for direct download : if(!empty($mp3Link)) { $linkHtml = '
sanja
  • 1
  • 2
0
votes
1 answer

How do I manage dofollow and nofollow in wordpress theme?

I mean when I set link in my website to new tab it automatically set to rel="noreferrer noopener". I want to set this links open in new tab but in dofollow. Also I need help with this can I get both option dofollow or nofollow.
0
votes
1 answer

Show dofollow on homepage but hide on subpage

Using WordPress, I have two links in my Footer Widget. One is a dofollow link and other is a nofollow link. I need to display the dofollow on the homepage only, while the nofollow needs to be displayed on every subpage. I’m wondering if this is…
Jack
  • 1
0
votes
2 answers

How to add nofollow noopener in rel of Wordpress comments

By default, I am getting WordPress comment's external URL as rel="nofollow". But, I want to make it rel="nofollow noopener" in my theme without plugins. Please help me.
Aminul
  • 25
  • 4
0
votes
1 answer

rel=nofollow a subdomain

I have a subdomain that i use for advertisements. It has openx installed to serve the ads. How can I ensure that everything from the subdomain gets treated like adding rel=nofollow as I don't want Google and other search engines to think that we…
David
  • 16,246
  • 34
  • 103
  • 162
0
votes
2 answers

Excluding multiple urls in Strpos- why doesn't it work?

I'm trying to exclude several urls from appending a nofollow rule using strpos but it only works with 1 url, I can't get it to exclude all the urls I need to include. This is the code that I've tried: add_filter( 'custom_bbpress_nofollow',…
Liss
  • 15
  • 5
0
votes
1 answer

Python Selenium rel=nofollow link

The Python Selenium code driver.find_element_by_link_text("Off").click() is correct and executes without errors. The fault is that the click follows the "nofollow" to the 404 error. This code should only change the view state of the webpage. This…
0
votes
2 answers

Regex for extracting links with specified attributes

I'm trying to build regex to extract links from text which have not rel="nofollow". Example: aiusdiua asudauih
0
votes
1 answer

How insert Link nofollow on webflow in posts

I am writing on webflow (webflow dot com) but I do not know how to insert nofollow link on webflow. Does anyone know if it can show me?
0
votes
1 answer

Add rel="nofollow" automatically to all outbound links in ASP.NET

Any geniuses on StackOverflow ever made a solution which automatically adds rel="nofollow", to all external links? I'd just like to apologise, I'm very new to backend coding - my attempts have literally got nowhere hence why I haven't posted…
Duke Dodson
  • 86
  • 1
  • 1
  • 8
0
votes
2 answers

PHP: Detect and correct outgoing links in HTML

i need a function which corrects ALL outgoing links within a given HTML-Text and adds the attribute "rel=nofollow" to the link. Only outgoing links should be corrected. Example: My domain is www.laptops.com $myDomain = "www.laptops.com"; $html = …
jb7AN
  • 77
  • 1
  • 6
0
votes
1 answer

Prestashop - noindex, nofollow in Multistore

I have shop on PrestaShop with Multistore function. I want add "noindex, nofollow" to one of my stores. I have main shop: eg. www.shop.com and second shop eg. www.shop.com/shop2. I want add "noindex, nofollow" only to "shop2". Thanks for help!
0
votes
0 answers

Bots, Woo and Adding to carts

Quick question here. Does anyone know how to stop bots from adding items to carts in Woocommerce? I have added a nofollow to the tag but its still happening. We are using the Ajax enabled add to cart on the homepage, categories and archives. Thank…
ValhallaSkies
  • 61
  • 1
  • 12
0
votes
0 answers

How to automatically attribute links with nofollow, only for a SPECIFIC html element in a webpage?

Some time ago I found this good old No Follow script, to add a nofollow attribute to hyperlinks. However, I dont want this script to be a site-wide thing! I just want hyperlinks inside a certain html element (say for example
...
)…
Sam
  • 15,254
  • 25
  • 90
  • 145
0
votes
1 answer

firefox can't follow the link, in other browsers all right

Ggo to https://codepen.io/anon/pen/pVGXZG hover mouse on NAV and try click on "firefox" Other browser when you click on "firefox" following link without problem var btn = document.getElementById("main-btn"); btn.addEventListener("mouseover",…
none
  • 1