It's real for sure. You can test it with google admin tools if you like ;)

**
Martin

2010/2/18 "Matías G. Tito" <[email protected]>:
> 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" <[email protected]>:
>>
>>>
>>> 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: [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]

Reply via email to