You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Francois Meillet <qq...@gmail.com> on 2012/03/06 13:42:10 UTC

seo - canonical link element

Hi Wicketers,

Do you use the Canonical Link Element in your page ?
(A canonical page is the preferred version of a set of pages with highly similar content.)

http://googlewebmastercentral.blogspot.com/2011/06/supporting-relcanonical-http-headers.html
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394


François
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: seo - canonical link element

Posted by Chris Colman <ch...@stepaheadsoftware.com>.
Not currently but over the last few days we have been implementing new features for a new release of our web app and one of those is to include the canonical link element.

I think it's really important for SEO.

>-----Original Message-----
>From: Francois Meillet [mailto:qqzzzzzzzz418@gmail.com]
>Sent: Tuesday, 6 March 2012 11:42 PM
>To: users@wicket.apache.org
>Subject: seo - canonical link element
>
>Hi Wicketers,
>
>Do you use the Canonical Link Element in your page ?
>(A canonical page is the preferred version of a set of pages with highly
>similar content.)
>
>http://googlewebmastercentral.blogspot.com/2011/06/supporting-relcanonical-
>http-headers.html
>http://googlewebmastercentral.blogspot.com/2009/02/specify-your-
>canonical.html
>http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394
>
>
>François
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: seo - canonical link element

Posted by armhold <ar...@gmail.com>.
Yes, I worked on an app with a search engine component, so it's common for
users to come to the "same" page via slightly different urls.

    <link rel="canonical" href="#" wicket:id="canonical"/>

    Label canonical = new Label("canonical", "");
    canonical.add(new AttributeModifier("href",
Model.of(getCanonicalUrl())));
    canonical.setVisible(! isCanonicalUrl());

Your page can implement isCanonicalUrl() to check page params, etc.


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/seo-canonical-link-element-tp4449729p4456354.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org