Foros de discusión
Does every liferay url do a 302 redirection?
Josep Palou, modificado hace 7 años.
Does every liferay url do a 302 redirection?
New Member Mensajes: 16 Fecha de incorporación: 20/06/16 Mensajes recientes
Hi.
I see with ScreamingFrog that the whole urls are using a 302 redireccion.
Dows liferay urls work with redirections?
I see with ScreamingFrog that the whole urls are using a 302 redireccion.
Dows liferay urls work with redirections?
Arun Das, modificado hace 7 años.
RE: Does every liferay url do a 302 redirection?
Regular Member Mensajes: 166 Fecha de incorporación: 23/07/12 Mensajes recientes
Hi,
By default, 302 redirection is used in liferay. I'm not sure why they haven't changed it to a 301 (I'm not an expert). You can use an hook plugin to change the type redirection. The file you need to hook is located at "/html/common/forward_jsp.jsp"
I've attached a sample jsp file, which does 301 redirection
Arun
By default, 302 redirection is used in liferay. I'm not sure why they haven't changed it to a 301 (I'm not an expert). You can use an hook plugin to change the type redirection. The file you need to hook is located at "/html/common/forward_jsp.jsp"
I've attached a sample jsp file, which does 301 redirection
Arun
Archivos adjuntos: