留言板

How to change the default display page

thumbnail
Omosigho O Ozo,修改在15 年前。

How to change the default display page

New Member 发布: 1 加入日期: 08-6-28 最近的帖子
On installing Liferay and accessing it on http://localhost:8080 the page is redirected to http://localhost:8080/web/guest/home. How can I set the server to redirect to another page; for instance the login page http://localhost:8080/c/portal/login.

I have looked through the portal.properties file and the only thing there to me that resembles anything worth changing is the landing page, but this is specific to the page to be redirected to on logging in.

Please can anyone help with some directions.

Thanks in Advance!!

Ozo
thumbnail
Björn Ryding,修改在15 年前。

RE: How to change the default display page

Liferay Master 帖子: 582 加入日期: 07-5-16 最近的帖子
Omosigho O Ozo:
On installing Liferay and accessing it on http://localhost:8080 the page is redirected to http://localhost:8080/web/guest/home. How can I set the server to redirect to another page; for instance the login page http://localhost:8080/c/portal/login.

I have looked through the portal.properties file and the only thing there to me that resembles anything worth changing is the landing page, but this is specific to the page to be redirected to on logging in.


Have a look at index.jsp in the Liferay web application root folder.

Cheers,
Björn
thumbnail
lalit j,修改在15 年前。

RE: How to change the default display page

New Member 帖子: 13 加入日期: 08-6-24 最近的帖子
HI Can you tell me how to do the same in ext environment.After logging in,a user should got o his customised portlet page.Can you plz help me in this.

TIA
thumbnail
Björn Ryding,修改在15 年前。

RE: How to change the default display page

Liferay Master 帖子: 582 加入日期: 07-5-16 最近的帖子
lalit j:
HI Can you tell me how to do the same in ext environment.After logging in,a user should got o his customised portlet page.Can you plz help me in this.


Changing the redirect in index.jsp will change where users are directed when they hit www.yourdomain.com/. What you are looking for, however, is the Default Landing Page. You can set it to a specific path in portal.properties and you can modify the DefaultLandingPageAction if you need some more advanced behavior.

Cheers,
Björn
Hari Krishnan R,修改在15 年前。

RE: How to change the default display page

Junior Member 帖子: 60 加入日期: 08-12-16 最近的帖子
hi Omosigho,

Me too having same problem, how can u fix this issue, will u please explain… it’s very helpful to me…..

thanks in advance..
thumbnail
Aditya Rao,修改在11 年前。

RE: How to change the default display page

Junior Member 帖子: 86 加入日期: 12-2-20 最近的帖子
Hi Ozo ,
Here is your solution :

In portelt-ext.properties make the following changes-
Firstly,
virtual.hosts.default.community.name=
It will unset the default community name.
Secondly,
company.default.home.url=/c/portal/login
It will redirect you to the login page as desired by you.

hope it wud work.
Let me know if there is any problem

Regards.