0

Is there any solution to check if a user came from a follow or nofollow link ?

I search this but there is no such question asked before .

Sara Ree
  • 3,417
  • 12
  • 48
  • Does this answer your question? [How to check if a user came to site by clicking a specific link?](https://stackoverflow.com/questions/61141814/how-to-check-if-a-user-came-to-site-by-clicking-a-specific-link) – Craicerjack Aug 08 '22 at 15:09
  • No at all....... – Sara Ree Aug 08 '22 at 15:10
  • 1
    There is no difference between the HTTP headers. `rel="nofollow"` only informs search engine crawlers not to follow the link. – Heretic Monkey Aug 08 '22 at 15:14
  • So what that mean ? we cannt return if the link was follow or nofollow ? – Sara Ree Aug 08 '22 at 15:16
  • Exactly. The HTTP request to your server is identical, you can check that yourself. So you cannot determine the difference, unless you have some other information you're not telling us. – deceze Aug 08 '22 at 15:24
  • There is no difference between a link without `rel="nofollow"` and with `rel="nofollow"` to the server which receives the request. – Heretic Monkey Aug 08 '22 at 15:24
  • Why do you care? As pointed out, this is just advice to search engines, why would it matter for ordinary users clicking on links? Are you trying to determine if a search engine is ignoring the `nofollow` attribute? – Barmar Aug 08 '22 at 15:40

0 Answers0