AW: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-08 Thread Benny Kannengießer
tice to use 301 redirects to fully keep the page ranking of the page the request is redirected to. -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Samstag, 5. Februar 2022 11:01 An: users@tomcat.apache.org Betreff: Re: AW: AW: Redirect with 301 for directory requested without trailin

AW: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-06 Thread Thomas Hoffmann (Speed4Trade GmbH)
ble. Up to now I never got this kind of request from any SEO agency or customer. Greetings Thomas -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Samstag, 5. Februar 2022 11:01 An: users@tomcat.apache.org Betreff: Re: AW: AW: Redirect with 301 for directory requested without trailing

Re: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-05 Thread Mark Thomas
On 04/02/2022 20:55, Christopher Schultz wrote: Benny, On 2/4/22 11:06, Benny Kannengießer wrote: Thanks again Mark for the tip! Like you suggested I wrapped the response, overriding "setStatus()" - but the method didn't get called because the wrapper is not a subclass of the original  respo

Re: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-04 Thread Christopher Schultz
Benny, On 2/4/22 11:06, Benny Kannengießer wrote: Thanks again Mark for the tip! Like you suggested I wrapped the response, overriding "setStatus()" - but the method didn't get called because the wrapper is not a subclass of the original response, it's just a façade. I think the "setStatus()

AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-04 Thread Benny Kannengießer
Thanks again Mark for the tip! Like you suggested I wrapped the response, overriding "setStatus()" - but the method didn't get called because the wrapper is not a subclass of the original response, it's just a façade. I think the "setStatus()" method of the wrapped response (inner object) was