Re: 301 redirect
It's real for sure. You can test it with google admin tools if you like ;) ** Martin 2010/2/18 "Matías G. Tito" : > Yes, I test it and works but I feel that is not a real 301 :p > > Martin Makundi wrote: >> >> http://old.nabble.com/301-Redirect-td27030778.html >> >> 2010/2/18 "Matías G. Tito" : >> >>> >>> Hi friends, I need to do an 301 redirect in place of 302. I try, but >>> still I >>> get 302: >>> >>> RedirectRequestTarget target = new RedirectRequestTarget(url) { >>> �...@override >>> public void respond(RequestCycle requestCycle) { >>> WebResponse response = (WebResponse) requestCycle >>> .getResponse(); >>> response.reset(); >>> response.getHttpServletResponse().setStatus( >>> HttpServletResponse.SC_MOVED_PERMANENTLY); >>> response.redirect(url); >>> } >>> }; >>> getRequestCycle().setRequestTarget(target); >>> >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 301 redirect
Yes, I test it and works but I feel that is not a real 301 :p Martin Makundi wrote: http://old.nabble.com/301-Redirect-td27030778.html 2010/2/18 "Matías G. Tito" : Hi friends, I need to do an 301 redirect in place of 302. I try, but still I get 302: RedirectRequestTarget target = new RedirectRequestTarget(url) { @Override public void respond(RequestCycle requestCycle) { WebResponse response = (WebResponse) requestCycle .getResponse(); response.reset(); response.getHttpServletResponse().setStatus( HttpServletResponse.SC_MOVED_PERMANENTLY); response.redirect(url); } }; getRequestCycle().setRequestTarget(target); - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 301 redirect
http://old.nabble.com/301-Redirect-td27030778.html 2010/2/18 "Matías G. Tito" : > Hi friends, I need to do an 301 redirect in place of 302. I try, but still I > get 302: > > RedirectRequestTarget target = new RedirectRequestTarget(url) { > @Override > public void respond(RequestCycle requestCycle) { > WebResponse response = (WebResponse) requestCycle > .getResponse(); > response.reset(); > response.getHttpServletResponse().setStatus( > HttpServletResponse.SC_MOVED_PERMANENTLY); > response.redirect(url); > } > }; > getRequestCycle().setRequestTarget(target); > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
301 redirect
Hi friends, I need to do an 301 redirect in place of 302. I try, but still I get 302: RedirectRequestTarget target = new RedirectRequestTarget(url) { @Override public void respond(RequestCycle requestCycle) { WebResponse response = (WebResponse) requestCycle .getResponse(); response.reset(); response.getHttpServletResponse().setStatus( HttpServletResponse.SC_MOVED_PERMANENTLY); response.redirect(url); } }; getRequestCycle().setRequestTarget(target); - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 301 Redirect
Hmm...is there a better way? I don't want to do anything container/app-server specific, honestly. I found this: http://old.nabble.com/302-vs.-301-Redirect-ts14156515.html#a14156515 Is there still no way to perform a 301 redirect? Any alternatives? On Tue, Jan 5, 2010 at 9:35 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > It's jetty specific. You have to look at sources if this resolution > works for you. > > ** > Martin > > 2010/1/5 VGJ : > > Is "HttpStatus" Jetty-specific? I'm unable to resolve the class. I'll > see > > if I can somehow piece this together on the Glassfish side. > > > > Thanks. > > > > On Tue, Jan 5, 2010 at 9:10 AM, Martin Makundi < > > martin.maku...@koodaripalvelut.com> wrote: > > > >> In WicketApplication.init() > >> > >> 2010/1/5 VGJ : > >> > You'll have to forgive my ignorance - where in your app do you do > this? > >> > > >> > On Tue, Jan 5, 2010 at 8:55 AM, Martin Makundi < > >> > martin.maku...@koodaripalvelut.com> wrote: > >> > > >> >> This is what we do with jetty: > >> >> > >> >>try { > >> >> // Force 302 redirect status code into 301 'permanent redirect' > >> >> Field statusField = > >> >> HttpStatus.class.getDeclaredField("__responseLine"); > >> >> statusField.setAccessible(true); > >> >> Buffer[] responseLine = (Buffer[]) > >> statusField.get(HttpStatus.class); > >> >> byte[] bytes = responseLine[302].toString().replace("302", > >> >> "301").getBytes(); > >> >> responseLine[302] = new > >> >> ByteArrayBuffer(bytes,0,bytes.length,Buffer.IMMUTABLE); > >> >>} catch (Exception e) { > >> >> Utils.errorLog(getClass(), e); > >> >>} > >> >> > >> >> > >> >> 2010/1/5 VGJ : > >> >> > Along with all of the SEO stuff I'm working on these days - I'm > being > >> >> asked > >> >> > to use 301 redirects on the sites we're optimizing. How would this > be > >> >> done > >> >> > in with Wicket? Are there alternatives, if not? > >> >> > > >> >> > Thanks! > >> >> > > >> >> > >> >> - > >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> >> For additional commands, e-mail: users-h...@wicket.apache.org > >> >> > >> >> > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: 301 Redirect
It's jetty specific. You have to look at sources if this resolution works for you. ** Martin 2010/1/5 VGJ : > Is "HttpStatus" Jetty-specific? I'm unable to resolve the class. I'll see > if I can somehow piece this together on the Glassfish side. > > Thanks. > > On Tue, Jan 5, 2010 at 9:10 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> In WicketApplication.init() >> >> 2010/1/5 VGJ : >> > You'll have to forgive my ignorance - where in your app do you do this? >> > >> > On Tue, Jan 5, 2010 at 8:55 AM, Martin Makundi < >> > martin.maku...@koodaripalvelut.com> wrote: >> > >> >> This is what we do with jetty: >> >> >> >> try { >> >> // Force 302 redirect status code into 301 'permanent redirect' >> >> Field statusField = >> >> HttpStatus.class.getDeclaredField("__responseLine"); >> >> statusField.setAccessible(true); >> >> Buffer[] responseLine = (Buffer[]) >> statusField.get(HttpStatus.class); >> >> byte[] bytes = responseLine[302].toString().replace("302", >> >> "301").getBytes(); >> >> responseLine[302] = new >> >> ByteArrayBuffer(bytes,0,bytes.length,Buffer.IMMUTABLE); >> >> } catch (Exception e) { >> >> Utils.errorLog(getClass(), e); >> >> } >> >> >> >> >> >> 2010/1/5 VGJ : >> >> > Along with all of the SEO stuff I'm working on these days - I'm being >> >> asked >> >> > to use 301 redirects on the sites we're optimizing. How would this be >> >> done >> >> > in with Wicket? Are there alternatives, if not? >> >> > >> >> > Thanks! >> >> > >> >> >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 301 Redirect
Is "HttpStatus" Jetty-specific? I'm unable to resolve the class. I'll see if I can somehow piece this together on the Glassfish side. Thanks. On Tue, Jan 5, 2010 at 9:10 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > In WicketApplication.init() > > 2010/1/5 VGJ : > > You'll have to forgive my ignorance - where in your app do you do this? > > > > On Tue, Jan 5, 2010 at 8:55 AM, Martin Makundi < > > martin.maku...@koodaripalvelut.com> wrote: > > > >> This is what we do with jetty: > >> > >>try { > >> // Force 302 redirect status code into 301 'permanent redirect' > >> Field statusField = > >> HttpStatus.class.getDeclaredField("__responseLine"); > >> statusField.setAccessible(true); > >> Buffer[] responseLine = (Buffer[]) > statusField.get(HttpStatus.class); > >> byte[] bytes = responseLine[302].toString().replace("302", > >> "301").getBytes(); > >> responseLine[302] = new > >> ByteArrayBuffer(bytes,0,bytes.length,Buffer.IMMUTABLE); > >>} catch (Exception e) { > >> Utils.errorLog(getClass(), e); > >>} > >> > >> > >> 2010/1/5 VGJ : > >> > Along with all of the SEO stuff I'm working on these days - I'm being > >> asked > >> > to use 301 redirects on the sites we're optimizing. How would this be > >> done > >> > in with Wicket? Are there alternatives, if not? > >> > > >> > Thanks! > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: 301 Redirect
In WicketApplication.init() 2010/1/5 VGJ : > You'll have to forgive my ignorance - where in your app do you do this? > > On Tue, Jan 5, 2010 at 8:55 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> This is what we do with jetty: >> >> try { >> // Force 302 redirect status code into 301 'permanent redirect' >> Field statusField = >> HttpStatus.class.getDeclaredField("__responseLine"); >> statusField.setAccessible(true); >> Buffer[] responseLine = (Buffer[]) statusField.get(HttpStatus.class); >> byte[] bytes = responseLine[302].toString().replace("302", >> "301").getBytes(); >> responseLine[302] = new >> ByteArrayBuffer(bytes,0,bytes.length,Buffer.IMMUTABLE); >> } catch (Exception e) { >> Utils.errorLog(getClass(), e); >> } >> >> >> 2010/1/5 VGJ : >> > Along with all of the SEO stuff I'm working on these days - I'm being >> asked >> > to use 301 redirects on the sites we're optimizing. How would this be >> done >> > in with Wicket? Are there alternatives, if not? >> > >> > Thanks! >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 301 Redirect
You'll have to forgive my ignorance - where in your app do you do this? On Tue, Jan 5, 2010 at 8:55 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > This is what we do with jetty: > >try { > // Force 302 redirect status code into 301 'permanent redirect' > Field statusField = > HttpStatus.class.getDeclaredField("__responseLine"); > statusField.setAccessible(true); > Buffer[] responseLine = (Buffer[]) statusField.get(HttpStatus.class); > byte[] bytes = responseLine[302].toString().replace("302", > "301").getBytes(); > responseLine[302] = new > ByteArrayBuffer(bytes,0,bytes.length,Buffer.IMMUTABLE); >} catch (Exception e) { > Utils.errorLog(getClass(), e); >} > > > 2010/1/5 VGJ : > > Along with all of the SEO stuff I'm working on these days - I'm being > asked > > to use 301 redirects on the sites we're optimizing. How would this be > done > > in with Wicket? Are there alternatives, if not? > > > > Thanks! > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: 301 Redirect
This is what we do with jetty: try { // Force 302 redirect status code into 301 'permanent redirect' Field statusField = HttpStatus.class.getDeclaredField("__responseLine"); statusField.setAccessible(true); Buffer[] responseLine = (Buffer[]) statusField.get(HttpStatus.class); byte[] bytes = responseLine[302].toString().replace("302", "301").getBytes(); responseLine[302] = new ByteArrayBuffer(bytes,0,bytes.length,Buffer.IMMUTABLE); } catch (Exception e) { Utils.errorLog(getClass(), e); } 2010/1/5 VGJ : > Along with all of the SEO stuff I'm working on these days - I'm being asked > to use 301 redirects on the sites we're optimizing. How would this be done > in with Wicket? Are there alternatives, if not? > > Thanks! > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
301 Redirect
Along with all of the SEO stuff I'm working on these days - I'm being asked to use 301 redirects on the sites we're optimizing. How would this be done in with Wicket? Are there alternatives, if not? Thanks!
Moved permanently (301) redirect
What is the best practice for sending a 301 redirect ( HttpServletResponse.SC_MOVED_PERMANENTLY) in Wicket? I found the following discussion: http://www.nabble.com/302-vs.-301-Redirect-td14156515.html But no guidance as to best practice. This explains how to send a 302 (Temporarily moved) redirect: http://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html Thanks, Ari
Re: 302 vs. 301 Redirect
Exactly, a fully qualified url.. We dont have that so if that is needed then we have first another problem 2007/12/7, Joe Toth <[EMAIL PROTECTED]>: > I think so...something like > > res.setHeader("Location", "http://301redirect.com/ ); > res.setStatus(301); > > > On Thu, 2007-12-06 at 15:43 +0100, Johan Compagner wrote: > > what is the right way for a permanent redirect in the servlet spec? > > do it all yourself? Including making the url fully qualified? > > > > On Dec 6, 2007 9:49 AM, Joe Toth <[EMAIL PROTECTED]> wrote: > > > > > I wasn't suggesting changing the functionality of setRedirect, but > > > instead maybe adding setPermanentRedirect(true) or another way for > > > wicket to be able to perform a 301. > > > > > > > > > On Wed, 2007-12-05 at 13:43 +, Gwyn Evans wrote: > > > > I think the one thread was "Consistent homepage URL" from 2005Q2 - I > > > > think the gist was that in the scenario there, it wasn't desirable > > > > having the redirected URL becoming the one that the search engines > > > > would always go to. > > > > > > > > /Gwyn > > > > > > > > On 04/12/2007, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > > Long long time ago we had discussions about this, i think also > related > > > > > to what google expects. I guess what we now have is a result of > that. > > > > > But i cant remember what the pros and cons are > > > > > > > > > > 2007/12/4, Joe Toth <[EMAIL PROTECTED]>: > > > > > > When you setRedirect(true), wicket does a 302, temporary, > redirect. > > > The > > > > > > basic rule of thumb in SEO is if you want to pass all authority to > a > > > > > > different page use 301 (permanent). > > > > > > > > > > > > > > > http://www.seotoday.com/browse.php/category/articles/id/477/index.php > > > > > > > > > > > > Thoughts on adding something to Wicket to support this > > > functionality? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 302 vs. 301 Redirect
I think so...something like res.setHeader("Location", "http://301redirect.com/ ); res.setStatus(301); On Thu, 2007-12-06 at 15:43 +0100, Johan Compagner wrote: > what is the right way for a permanent redirect in the servlet spec? > do it all yourself? Including making the url fully qualified? > > On Dec 6, 2007 9:49 AM, Joe Toth <[EMAIL PROTECTED]> wrote: > > > I wasn't suggesting changing the functionality of setRedirect, but > > instead maybe adding setPermanentRedirect(true) or another way for > > wicket to be able to perform a 301. > > > > > > On Wed, 2007-12-05 at 13:43 +, Gwyn Evans wrote: > > > I think the one thread was "Consistent homepage URL" from 2005Q2 - I > > > think the gist was that in the scenario there, it wasn't desirable > > > having the redirected URL becoming the one that the search engines > > > would always go to. > > > > > > /Gwyn > > > > > > On 04/12/2007, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > Long long time ago we had discussions about this, i think also related > > > > to what google expects. I guess what we now have is a result of that. > > > > But i cant remember what the pros and cons are > > > > > > > > 2007/12/4, Joe Toth <[EMAIL PROTECTED]>: > > > > > When you setRedirect(true), wicket does a 302, temporary, redirect. > > The > > > > > basic rule of thumb in SEO is if you want to pass all authority to a > > > > > different page use 301 (permanent). > > > > > > > > > > > > http://www.seotoday.com/browse.php/category/articles/id/477/index.php > > > > > > > > > > Thoughts on adding something to Wicket to support this > > functionality? > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 302 vs. 301 Redirect
what is the right way for a permanent redirect in the servlet spec? do it all yourself? Including making the url fully qualified? On Dec 6, 2007 9:49 AM, Joe Toth <[EMAIL PROTECTED]> wrote: > I wasn't suggesting changing the functionality of setRedirect, but > instead maybe adding setPermanentRedirect(true) or another way for > wicket to be able to perform a 301. > > > On Wed, 2007-12-05 at 13:43 +, Gwyn Evans wrote: > > I think the one thread was "Consistent homepage URL" from 2005Q2 - I > > think the gist was that in the scenario there, it wasn't desirable > > having the redirected URL becoming the one that the search engines > > would always go to. > > > > /Gwyn > > > > On 04/12/2007, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > Long long time ago we had discussions about this, i think also related > > > to what google expects. I guess what we now have is a result of that. > > > But i cant remember what the pros and cons are > > > > > > 2007/12/4, Joe Toth <[EMAIL PROTECTED]>: > > > > When you setRedirect(true), wicket does a 302, temporary, redirect. > The > > > > basic rule of thumb in SEO is if you want to pass all authority to a > > > > different page use 301 (permanent). > > > > > > > > > http://www.seotoday.com/browse.php/category/articles/id/477/index.php > > > > > > > > Thoughts on adding something to Wicket to support this > functionality? > > > > > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: 302 vs. 301 Redirect
I wasn't suggesting changing the functionality of setRedirect, but instead maybe adding setPermanentRedirect(true) or another way for wicket to be able to perform a 301. On Wed, 2007-12-05 at 13:43 +, Gwyn Evans wrote: > I think the one thread was "Consistent homepage URL" from 2005Q2 - I > think the gist was that in the scenario there, it wasn't desirable > having the redirected URL becoming the one that the search engines > would always go to. > > /Gwyn > > On 04/12/2007, Johan Compagner <[EMAIL PROTECTED]> wrote: > > Long long time ago we had discussions about this, i think also related > > to what google expects. I guess what we now have is a result of that. > > But i cant remember what the pros and cons are > > > > 2007/12/4, Joe Toth <[EMAIL PROTECTED]>: > > > When you setRedirect(true), wicket does a 302, temporary, redirect. The > > > basic rule of thumb in SEO is if you want to pass all authority to a > > > different page use 301 (permanent). > > > > > > http://www.seotoday.com/browse.php/category/articles/id/477/index.php > > > > > > Thoughts on adding something to Wicket to support this functionality? > > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 302 vs. 301 Redirect
I think the one thread was "Consistent homepage URL" from 2005Q2 - I think the gist was that in the scenario there, it wasn't desirable having the redirected URL becoming the one that the search engines would always go to. /Gwyn On 04/12/2007, Johan Compagner <[EMAIL PROTECTED]> wrote: > Long long time ago we had discussions about this, i think also related > to what google expects. I guess what we now have is a result of that. > But i cant remember what the pros and cons are > > 2007/12/4, Joe Toth <[EMAIL PROTECTED]>: > > When you setRedirect(true), wicket does a 302, temporary, redirect. The > > basic rule of thumb in SEO is if you want to pass all authority to a > > different page use 301 (permanent). > > > > http://www.seotoday.com/browse.php/category/articles/id/477/index.php > > > > Thoughts on adding something to Wicket to support this functionality? > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Download Wicket 1.3.0-rc1 now! - http://wicketframework.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 302 vs. 301 Redirect
Long long time ago we had discussions about this, i think also related to what google expects. I guess what we now have is a result of that. But i cant remember what the pros and cons are 2007/12/4, Joe Toth <[EMAIL PROTECTED]>: > When you setRedirect(true), wicket does a 302, temporary, redirect. The > basic rule of thumb in SEO is if you want to pass all authority to a > different page use 301 (permanent). > > http://www.seotoday.com/browse.php/category/articles/id/477/index.php > > Thoughts on adding something to Wicket to support this functionality? > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
302 vs. 301 Redirect
When you setRedirect(true), wicket does a 302, temporary, redirect. The basic rule of thumb in SEO is if you want to pass all authority to a different page use 301 (permanent). http://www.seotoday.com/browse.php/category/articles/id/477/index.php Thoughts on adding something to Wicket to support this functionality? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]