掲示板

how to redirect liferay home to my login screen

12年前 に sairam nemani によって更新されました。

how to redirect liferay home to my login screen

New Member 投稿: 11 参加年月日: 11/10/19 最新の投稿
Hi,

When i create an organization with a name test123, then its friendly URL would be : http://localhost:8080/web/test123/home, if i paste this on the browser(tomcat running backend) then it is going to liferay home page with login credentials, after providing my user credentials its getting in to my portal, so here can't i redirect that liferay home to my login screen??? as in my project we have our own login screen instead of this liferay login screen will come if access through friendly URL mentioned above. Could you please provide your suggestions or comments on this.
thumbnail
12年前 に Ravi Kumar Gupta によって更新されました。

RE: how to redirect liferay home to my login screen

Liferay Legend 投稿: 1302 参加年月日: 09/06/24 最新の投稿
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: how to redirect liferay home to my login screen

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
Hi Nemani,

You can refer below.

http://www.liferay.com/community/forums/-/message_boards/view_message/113


Thanks,
Sagar Vyas
12年前 に sairam nemani によって更新されました。

RE: how to redirect liferay home to my login screen

New Member 投稿: 11 参加年月日: 11/10/19 最新の投稿
Thank you Ravi and Sagar, but still it not working for me. My requirement is: If any user copies his friendly URL pastes it in the browser and click enter then he should redirect to my login screen not to Liferay Home. But now it is redirecting to liferay home page even i tired giving all those properties in portal-ext.properties.
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: how to redirect liferay home to my login screen

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
sairam nemani:
Thank you Ravi and Sagar, but still it not working for me. My requirement is: If any user copies his friendly URL pastes it in the browser and click enter then he should redirect to my login screen not to Liferay Home. But now it is redirecting to liferay home page even i tired giving all those properties in portal-ext.properties.


Hi Nemani,

Please tell me steps which you followed in details including properties.

Thanks,
Sagar Vyas
12年前 に sairam nemani によって更新されました。

RE: how to redirect liferay home to my login screen

New Member 投稿: 11 参加年月日: 11/10/19 最新の投稿
Hi,

Hi my requirement is: when we create a public page for a test user with screen name as testuser then its friendly URL will be (for ex: http://localhost/web/testuser/home)
if i paste this friendly URL on the browser and click enter then it redirects to Liferay home, but here i want this to redirect to my portal application login page. For this i have provided these properties in portal-ext.properties file.

default.landing.page.path=/web/guest/login
company.default.home.url=/web/guest/login

do i need to do anything else for my requirement?
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: how to redirect liferay home to my login screen

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
sairam nemani:


default.landing.page.path=/web/guest/login
company.default.home.url=/web/guest/login

do i need to do anything else for my requirement?


Hi Nemani,

I guess you set wrong properties.


virtual.hosts.default.community.name=mycommunityName

company.default.home.url=/web/mycommunityName/mypage


Please try with above one and let me know if it is working emoticon

Thanks,
Sagar Vyas