Hi Sebastien,

Is 
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
a solution for this use case ?

On Thu, Oct 25, 2012 at 5:42 PM, Sebastien <[email protected]> wrote:
> Hi,
>
> I have a question related to this thread, how is it possible to have a
> variable name for ?1, ?2 ?
> ie: ?state=1, ?state=2 (or another variable name)
> Is there any existing IRequestMapper for that for instance?
>
> One use case, is that google analytics allows to not take into account some
> url variables so pages are not considered as distinct (MyPage?1 and
> MyPage?2 should sums stats for only one page: MyPage, which is not the case
> yet)
>
> Thanks in advance!
> Sebastien.
>
> On Thu, Oct 25, 2012 at 4:17 PM, Martin Grigorov <[email protected]>wrote:
>
>> On Thu, Oct 25, 2012 at 4:57 PM, Paolo <[email protected]> wrote:
>> > Hi,
>> > I know that it is an old discussion,
>> > but I really want the url simply and clear, without ;jsessionid= and
>> without ?1  ?2 etc.
>>
>> 1) make sure cookies are enabled - jsessionid is gone
>> 2) make sure your pages are stateless - ?2 is gone
>>
>> Voila!
>>
>> > I am starting to upgrade to wichet 6.2.0
>> > actually I use this in MainApplication:
>> >
>> >     protected void init()
>> >     {
>> >         super.init();
>> >         SecurePackageResourceGuard guard = new
>> SecurePackageResourceGuard();
>> >                 guard.addPattern("+**.gif");
>> >                 guard.addPattern("+*.*");
>> >                 guard.addPattern("+*.gi*");
>> >                 guard.addPattern("+test*.gif");
>> >         getResourceSettings().setPackageResourceGuard(guard);
>> >         //getDebugSettings().setDevelopmentUtilitiesEnabled(true);
>> >         // mountPage("home.html", HomePage.class);
>> >         // mountPage("/", HomePage.class);
>> >         mountPage("search", Search.class);
>> >         mountPage("products", Products.class);
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [email protected]
>> > For additional commands, e-mail: [email protected]
>> >
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to