Welcome to WebmasterWorld Guest from 54.158.79.216

Forum Moderators: incrediBILL

Message Too Old, No Replies

encrypting hyperlinks

     
6:51 am on Feb 15, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 7, 2003
posts:111
votes: 0


Can this be done in a html web site? How do I do it? I want the links to work, but be unreadable by a person or spyder...
1:00 pm on Feb 15, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 26, 2004
posts:1497
votes: 0


To a person, probably. Encode each letter as a html encoded letter. Won't fool a spider though, and as soon as they go to it it'll show up in the address bar with the proper URI. Why are you trying to do this?
1:24 pm on Feb 15, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Dec 10, 2001
posts:254
votes: 0


Do you have something specific you wish to hide? Do you, for instance, you want to list email addresses but protect them from being harvested by spammers? There are a few solutions out there for that problem.

The simplest way I know to do so--and keep a clickable link--is to use javascript to split the address in pieces and "reassemble" it with document.write for the web page. I don't know if [orperhaps better which!] spiders have figured out how to read that, but it provides at least a little bit of protection.

2:58 pm on Feb 15, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 5, 2002
posts:872
votes: 0


> Why are you trying to do this?

Yes. this question should be answered first. If you neither want people nor spiders to follow the links, then who else but you should/could use that link? and if it's only you, then the easiest way would probably be to link to an (intermediate) password-protected page.

By the way I don't think it is a good idea to post this question in three threads at the same time.