Use JavaScript to Hide a Page
I know how irritate it is of being spam. Until to-date, more and more techniques are used in order to prevent the spiders from harvesting your email address. Perhaps this trick might help you a bit.
Spiders look for links to follow. To block spiders and spambots, but not legitimate visitors, you cab change the way that a link works by using JavaScript to create a similar effect. Harvesters and web spiders don’t run JavaScript scripts and cannot follow that particular link e.g. Contact page.
The downside is, your visitors must have JavaScript enabled or else the link won’t work.
<a href="javascript:window.location='your-hidden-page.php';">Contact page</a>
Do remember though. The approach above will keep out all spiders, including those for search engines. Since search engines like Google are an important way for visitors to find your web site, over using JavaScript links can make your site invisible to search engines and unfindable by visitors.
Use it wisely.
Related entries
Share your thoughts
