hi, I'm new to Tapestry. I was trying out the Vote Youtube tutorial/video,
and looks like that ActionLink doesn't seem to be safe for search engines?

The ActionLinks are rendered like this:

/vote/index.vote/2 + 

Or when zone (Ajax) is disabled:

/vote/index.vote/2 + 


The problem with this code is that the link changes server sided database
state via a simple link click (so it's a non-idempotent request). This means
that search engines and bots will change the database when they crawl/index
the website. The positive side of this code is that it is a safety fallback
for non-javascript clients.

Is there a way to override the href attribute to "#" so that it is safe for
search engines? Or is their another Tapestry component that is better suited
for this problem?


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/ActionLink-not-Search-Engine-safe-tp4490777p4490777.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to