The JavaDoc for service interface 
org.apache.tapestry5.services.linktransform.PageRenderLinkTransformer seems to 
suggest it can be used for that. However this is just a guess and a pointer if 
you want to look at it, because I have no previous knowledge or experience with 
that. I'm sure you are going to get more accurate replies to this.

-----Original Message-----
From: Stephen Nutbrown [mailto:steves...@gmail.com] 
Sent: Monday, May 2, 2016 11:51
To: Tapestry users <users@tapestry.apache.org>
Subject: Hyphens in URL possible?

Hi,

I am working on a tapestry project and someone has asked me to change the URLs 
to include hyphens which they believe will improve SEO.

As per https://support.google.com/webmasters/answer/76329?hl=en, it's 
supposedly good practise to "Consider using punctuation in your URLs. The URL 
*http://www.example.com/green-dress.html
<http://www.example.com/green-dress.html>* is much more useful to us than 
*http://www.example.com/greendress.html
<http://www.example.com/greendress.html>*. We recommend that you use hyphens 
(-) instead of underscores (_) in your URLs."

So, let's say I have a page called: GreenDress, which has a GreenDress.java and 
a GreenDress.tml.

Is there any way I can change that to "Green-Dress"? I'm not sure a hyphen is 
even a valid character in a Java class name, so I assume there is another way 
to do it?

Thanks,
Steve

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

Reply via email to