How to hidden link

frodo92

Junior Member
Joined
Nov 30, 2016
Messages
186
Reaction score
57
Hello, I'm having a little dilemma, i want to show a certain text/link only to certain user agent, like Google and Yahoo, and for other user agent to be hidden. Like to not be visible for people that are accessing the website from Firefox, Chrome etc. Can you help me?
 

mrnixdorf

Jr. VIP
Jr. VIP
Joined
May 24, 2015
Messages
697
Reaction score
632
Check Here == ANCHOR ==

Works for you ?
 

vijurj08

Jr. VIP
Jr. VIP
Joined
Jul 15, 2021
Messages
112
Reaction score
26
What is your website technology, I mean php or .net
 

SirLouen

Jr. VIP
Jr. VIP
Joined
Jan 17, 2015
Messages
2,704
Reaction score
1,575
Website
linktr.ee
If this idea is meant to fool somehow the crawling spiders for some weird SEO purpose, I would not recommend it.
Consider that Google checks many versions of your site, not only the one from Google agent itself, and this is technically "deceiving" the crawler.

Apart from this, you can easily do this with PHP code
Use
Code:
get_browser
function
 

Grayhats

Registered Member
Joined
Aug 17, 2021
Messages
60
Reaction score
15
You can use "Google Bot User Agent" for links.
 
Top