Foren
Does every liferay url do a 302 redirection?
Josep Palou, geändert vor 7 Jahren.
Does every liferay url do a 302 redirection?
New Member Beiträge: 16 Beitrittsdatum: 20.06.16 Neueste Beiträge
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, geändert vor 7 Jahren.
RE: Does every liferay url do a 302 redirection?
Regular Member Beiträge: 166 Beitrittsdatum: 23.07.12 Neueste Beiträge
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
Anhänge: