Hi All, I have a problem which has me baffled. I am sure it is something minor but I just can’t figure it out, so I figured I would post to this group in the hope that someone knows how I could fix this problem which I never thought I had :) So here goes:
We have a wicket based project under development and the problem we have with wicket redirects…. this is making it impossible for us to share our pages on facebook (and probably other social media site). The problem seems to be that wicket is redirecting slug based incoming requests. Because of this the facebook crawler (or scrapper) is not able to see our page and so returns an error. So the slug based user friendly URL is : http://example.com/webapp/poll/who-is-the-most-important-person-in-the-country-in-2014-T196 It causes a redirection to:- http://example.com/mysite-webapp/wicket/page?1 So when I post this URL to Facebook it shows "Page Not Found" But if you click on the link it it works. My question is why Wicket is redirecting it to "example.com/mysite-webapp/wicket/page?1". It doesn't happen for non-slug based URL. In the Wicket app I have defined the URL as: mount(new MountedMapperWithoutPageComponentInfo("tapMap/${tapcastName}-T${tapCastId}", TapMapPage.class)); Any help would be greatly appreciated. Thanks Parag --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
