Re: Hide page version query parameters

2012-01-04 Thread armhold
You can also add a link rel=canonical href=http://example.com/your-canonical-url/ to the head to instruct the search engines to find the proper page. (warning- video auto-plays on this google link:) http://support.google.com/webmasters/bin/answer.py?hl=enanswer=139394 -- View this message in

Re: Hide page version query parameters

2012-01-03 Thread Taneli Korri
On Tue, Jan 3, 2012 at 1:20 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: add the nofollow attribute to such links. All the links had it from the start. The crawlers from the big companies (Google, Bing etc) obey it, but some smaller ones do not. Anyways, I fixed the problem by filtering

Re: Hide page version query parameters

2012-01-02 Thread Taneli Korri
On Mon, Jan 2, 2012 at 9:47 AM, Martin Grigorov mgrigo...@apache.org wrote: On Mon, Jan 2, 2012 at 8:18 AM, Taneli Korri tko...@gmail.com wrote: On Sat, Dec 31, 2011 at 4:31 PM, Martin Grigorov mgrigo...@apache.org wrote: On Sat, Dec 31, 2011 at 2:29 PM, Taneli Korri tko...@gmail.com wrote:

Re: Hide page version query parameters

2012-01-02 Thread Igor Vaynberg
add the nofollow attribute to such links. -igor On Mon, Jan 2, 2012 at 11:05 AM, Taneli Korri tko...@gmail.com wrote: On Mon, Jan 2, 2012 at 9:47 AM, Martin Grigorov mgrigo...@apache.org wrote: On Mon, Jan 2, 2012 at 8:18 AM, Taneli Korri tko...@gmail.com wrote: On Sat, Dec 31, 2011 at 4:31

Re: Hide page version query parameters

2012-01-01 Thread martin.dilger
Yes, thats right, stateless pages do not have version number, but normally it is not so easy to make pages stateless, we always had problems with that. But if you change your render strategy to redirect to render, the uri in the browser does not change and you always have clean uris. Thats how

Re: Hide page version query parameters

2012-01-01 Thread Taneli Korri
On Sat, Dec 31, 2011 at 4:31 PM, Martin Grigorov mgrigo...@apache.org wrote: On Sat, Dec 31, 2011 at 2:29 PM, Taneli Korri tko...@gmail.com wrote: On Sat, Dec 31, 2011 at 9:09 AM, Martin Grigorov mgrigo...@apache.org wrote: On Fri, Dec 30, 2011 at 11:43 PM, martin.dilger

Re: Hide page version query parameters

2012-01-01 Thread Martin Grigorov
On Mon, Jan 2, 2012 at 8:18 AM, Taneli Korri tko...@gmail.com wrote: On Sat, Dec 31, 2011 at 4:31 PM, Martin Grigorov mgrigo...@apache.org wrote: On Sat, Dec 31, 2011 at 2:29 PM, Taneli Korri tko...@gmail.com wrote: On Sat, Dec 31, 2011 at 9:09 AM, Martin Grigorov mgrigo...@apache.org wrote:

Re: Hide page version query parameters

2011-12-31 Thread Taneli Korri
On Sat, Dec 31, 2011 at 9:09 AM, Martin Grigorov mgrigo...@apache.org wrote: On Fri, Dec 30, 2011 at 11:43 PM, martin.dilger martin.dil...@googlemail.com wrote: hi, you could try to change your render strategy to redirect to render, that would dismiss the page parameters version. This is

Re: Hide page version query parameters

2011-12-31 Thread Martin Grigorov
On Sat, Dec 31, 2011 at 2:29 PM, Taneli Korri tko...@gmail.com wrote: On Sat, Dec 31, 2011 at 9:09 AM, Martin Grigorov mgrigo...@apache.org wrote: On Fri, Dec 30, 2011 at 11:43 PM, martin.dilger martin.dil...@googlemail.com wrote: hi, you could try to change your render strategy to redirect

Re: Hide page version query parameters

2011-12-30 Thread martin.dilger
hi, you could try to change your render strategy to redirect to render, that would dismiss the page parameters version. regards martin dilger -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Hide-page-version-query-parameters-tp4163099p4246959.html Sent from the

Re: Hide page version query parameters

2011-12-30 Thread Martin Grigorov
On Fri, Dec 30, 2011 at 11:43 PM, martin.dilger martin.dil...@googlemail.com wrote: hi, you could try to change your render strategy to redirect to render, that would dismiss the page parameters version. This is not correct. The page id is encoded in the url only for stateful pages. Make your

Re: Hide page version query parameters

2011-12-28 Thread Taneli Korri
Allen wrote Is there a built-in way to hide page version parameters (e.g. ?12) in Wicket 1.5? If not, is it possible to write a custom IRequestMapper that does so without screwing up proper request handling? Hi, Did you find a way to remove the page version parameter? I'm also trying to