Forums de discussion

[RESOLVED] Redirect page to different community page

Anshul Gupta, modifié il y a 13 années.

[RESOLVED] Redirect page to different community page

Regular Member Publications: 114 Date d'inscription: 05/02/10 Publications récentes
Hi All,

Here is the use case: I have some public pages in a community lets say Community-A. I want that if a user clicks on any of the pages in Community-A, it will be redirected to a page in different community lets say Community-B.

I checked out the Layout table but it only has friendly url which is /pagename. This is what I want to do,

www.xxx.com/web/Community-A/home --> www.xxx.com/web/Community-B/home


Let me know if you have got some solution or workaround.

Thanks a lot in advance.
thumbnail
Manish Kumar Gupta, modifié il y a 13 années.

RE: Redirect page to different community page

Liferay Master Publications: 535 Date d'inscription: 16/05/08 Publications récentes
When you create pages for Community-A, use the page type as URL and provide URL for Community-B pages.
Anshul Gupta, modifié il y a 13 années.

RE: Redirect page to different community page

Regular Member Publications: 114 Date d'inscription: 05/02/10 Publications récentes
Thanks Manish, it worked.
Ankur Jaswal, modifié il y a 13 années.

RE: Redirect page to different community page

Junior Member Publications: 42 Date d'inscription: 12/08/10 Publications récentes
Hi Manish,

Will this be worked for Guest community having single page.
I am seeing error that first page should not be a url type. My req is not to show the guest community at any way , even by changing the url also (its for only one portal instance).

thanks
Ankur.