留言板
Does every liferay url do a 302 redirection?
Josep Palou,修改在7 年前。
Does every liferay url do a 302 redirection?
New Member 帖子: 16 加入日期: 16-6-20 最近的帖子
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,修改在7 年前。
RE: Does every liferay url do a 302 redirection?
Regular Member 帖子: 166 加入日期: 12-7-23 最近的帖子
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