homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

encrypting hyperlinks

 6:51 am on Feb 15, 2005 (gmt 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)

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)

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.

Oliver Henniges

 2:58 pm on Feb 15, 2005 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved