You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Phil Franken <ph...@gmail.com> on 2011/06/21 08:16:05 UTC
HybridUrlCodingStrategy SEO
I've mapped my home page to "home" usingHybridUrlCodingStrategy.
Testing with http://www.internetofficer.com/seo-tool/redirect-check/
shows a 302 redirect for;
"domain.com" to "domain.com/home.0"
"domain.com/home" to "domain.com/home.1"
Google does not like the redirect and is reporting a redirect error in
Webmaster Tools. Google will not follow the page with a redirect and
wants a direct link in sitemap.xml. Well with HybridUrl I'm not sure
this is possible because it will redirect to the numbered version,
home.0, home.1, etc...
I'm thinking of switching to a BookmarkablePage mount to solve this
issue, but the home page has ajax controls and I'd prefer to support the
browser back button without the cache control fix for ajax. Any other
suggestions?
RE: HybridUrlCodingStrategy SEO
Posted by Jeffrey Schneller <je...@envisa.com>.
Try adding rel="nofollow" to the ajax links. This should tell google not to follow the link. We have had pretty good results using this. Other spiders do not recognize this so some indexers may still hit those links.
-----Original Message-----
From: Phil Franken [mailto:phil.franken@gmail.com]
Sent: Tuesday, June 21, 2011 2:38 AM
To: users@wicket.apache.org
Subject: Re: HybridUrlCodingStrategy SEO
I've considered stateless but I don't want google to follow any of my
ajax links so I don't really need it (I think). I only want google to
index my home page, but I can't provide a direct link with the HybridUrl
strategy as far as I know. Also I've got a custom RequestCycle so I've
got an integration with wicket-stateless.
On 6/21/2011 2:28 AM, Martin Grigorov wrote:
> Hi,
>
> To avoid the redirect the page should be stateless. You can use
> Jolira's stateless Ajax behaviors/components instead.
>
> On Tue, Jun 21, 2011 at 9:16 AM, Phil Franken<ph...@gmail.com> wrote:
>> I've mapped my home page to "home" usingHybridUrlCodingStrategy.
>>
>> Testing with http://www.internetofficer.com/seo-tool/redirect-check/ shows a
>> 302 redirect for;
>>
>> "domain.com" to "domain.com/home.0"
>> "domain.com/home" to "domain.com/home.1"
>>
>> Google does not like the redirect and is reporting a redirect error in
>> Webmaster Tools. Google will not follow the page with a redirect and wants
>> a direct link in sitemap.xml. Well with HybridUrl I'm not sure this is
>> possible because it will redirect to the numbered version, home.0, home.1,
>> etc...
>>
>> I'm thinking of switching to a BookmarkablePage mount to solve this issue,
>> but the home page has ajax controls and I'd prefer to support the browser
>> back button without the cache control fix for ajax. Any other suggestions?
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: HybridUrlCodingStrategy SEO
Posted by Phil Franken <ph...@gmail.com>.
I've considered stateless but I don't want google to follow any of my
ajax links so I don't really need it (I think). I only want google to
index my home page, but I can't provide a direct link with the HybridUrl
strategy as far as I know. Also I've got a custom RequestCycle so I've
got an integration with wicket-stateless.
On 6/21/2011 2:28 AM, Martin Grigorov wrote:
> Hi,
>
> To avoid the redirect the page should be stateless. You can use
> Jolira's stateless Ajax behaviors/components instead.
>
> On Tue, Jun 21, 2011 at 9:16 AM, Phil Franken<ph...@gmail.com> wrote:
>> I've mapped my home page to "home" usingHybridUrlCodingStrategy.
>>
>> Testing with http://www.internetofficer.com/seo-tool/redirect-check/ shows a
>> 302 redirect for;
>>
>> "domain.com" to "domain.com/home.0"
>> "domain.com/home" to "domain.com/home.1"
>>
>> Google does not like the redirect and is reporting a redirect error in
>> Webmaster Tools. Google will not follow the page with a redirect and wants
>> a direct link in sitemap.xml. Well with HybridUrl I'm not sure this is
>> possible because it will redirect to the numbered version, home.0, home.1,
>> etc...
>>
>> I'm thinking of switching to a BookmarkablePage mount to solve this issue,
>> but the home page has ajax controls and I'd prefer to support the browser
>> back button without the cache control fix for ajax. Any other suggestions?
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: HybridUrlCodingStrategy SEO
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
To avoid the redirect the page should be stateless. You can use
Jolira's stateless Ajax behaviors/components instead.
On Tue, Jun 21, 2011 at 9:16 AM, Phil Franken <ph...@gmail.com> wrote:
> I've mapped my home page to "home" usingHybridUrlCodingStrategy.
>
> Testing with http://www.internetofficer.com/seo-tool/redirect-check/ shows a
> 302 redirect for;
>
> "domain.com" to "domain.com/home.0"
> "domain.com/home" to "domain.com/home.1"
>
> Google does not like the redirect and is reporting a redirect error in
> Webmaster Tools. Google will not follow the page with a redirect and wants
> a direct link in sitemap.xml. Well with HybridUrl I'm not sure this is
> possible because it will redirect to the numbered version, home.0, home.1,
> etc...
>
> I'm thinking of switching to a BookmarkablePage mount to solve this issue,
> but the home page has ajax controls and I'd prefer to support the browser
> back button without the cache control fix for ajax. Any other suggestions?
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org