Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: how to redirect liferay home to my login screen
sairam nemani, modificat fa 14 anys.
New Member
Apunts: 11
Data d'incorporació: 19/10/11
Publicacions recents
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.
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.
Ravi Kumar Gupta, modificat fa 14 anys.
Liferay Legend
Apunts: 1302
Data d'incorporació: 24/06/09
Publicacions recents
You might want to look at these links for Default Landing page before and after login.
http://www.liferay.com/community/forums/-/message_boards/message/10979245
http://www.liferay.com/community/wiki/-/wiki/Main/Customizing+the+default+page+after+login
http://www.liferay.com/community/forums/-/message_boards/message/10979245
http://www.liferay.com/community/wiki/-/wiki/Main/Customizing+the+default+page+after+login
Sagar A Vyas, modificat fa 14 anys.
Liferay Master
Apunts: 679
Data d'incorporació: 17/04/09
Publicacions recents
Hi Nemani,
You can refer below.
http://www.liferay.com/community/forums/-/message_boards/view_message/113
Thanks,
Sagar Vyas
You can refer below.
http://www.liferay.com/community/forums/-/message_boards/view_message/113
Thanks,
Sagar Vyas
sairam nemani, modificat fa 14 anys.
New Member
Apunts: 11
Data d'incorporació: 19/10/11
Publicacions recents
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.
Sagar A Vyas, modificat fa 14 anys.
Liferay Master
Apunts: 679
Data d'incorporació: 17/04/09
Publicacions recents
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
sairam nemani, modificat fa 14 anys.
New Member
Apunts: 11
Data d'incorporació: 19/10/11
Publicacions recents
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?
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?
Sagar A Vyas, modificat fa 14 anys.
Liferay Master
Apunts: 679
Data d'incorporació: 17/04/09
Publicacions recents
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
Thanks,
Sagar Vyas