<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Proposal: making home URL highly configurable in multiple web sites</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=7765235" />
  <subtitle>Proposal: making home URL highly configurable in multiple web sites</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=7765235</id>
  <updated>2026-05-20T15:11:09Z</updated>
  <dc:date>2026-05-20T15:11:09Z</dc:date>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8285424" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8285424</id>
    <updated>2011-04-18T15:53:20Z</updated>
    <published>2011-04-18T15:53:20Z</published>
    <summary type="html">Hi Julio, &lt;br /&gt;&lt;br /&gt;Yes, you are right that we could move the &amp;#34;all news&amp;#34; page to the first place. But real use case says that any page would be home page. &lt;br /&gt;&lt;br /&gt;In this example, the page order are:&lt;br /&gt;&lt;br /&gt;Home&lt;br /&gt;  feature, all-news, etc.&lt;br /&gt;&lt;br /&gt;As you can see, the page &amp;#34;feature&amp;#34; is not the first page, but it is required to be home page.&lt;br /&gt;&lt;br /&gt;&amp;#34;all-news&amp;#34; may become home page when new requirement comes.&lt;br /&gt;&lt;br /&gt;That is, home page should not be the first page, and home page should be configurable.&lt;br /&gt;&lt;br /&gt;Do you agreed?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Jonas</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2011-04-18T15:53:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8256142" />
    <author>
      <name>Julio Camarero</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8256142</id>
    <updated>2011-04-15T09:26:24Z</updated>
    <published>2011-04-15T09:26:24Z</published>
    <summary type="html">Hi Jonas, &lt;br /&gt;&lt;br /&gt;for that scenario, If I were the webmaster and I needed &amp;#34;all news&amp;#34; to be the home url now, I would move the &amp;#34;all news&amp;#34; page to the first place. wouldn&amp;#39;t that work?</summary>
    <dc:creator>Julio Camarero</dc:creator>
    <dc:date>2011-04-15T09:26:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8251337" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8251337</id>
    <updated>2011-04-14T20:06:46Z</updated>
    <published>2011-04-14T20:06:46Z</published>
    <summary type="html">Hi Julio, &lt;br /&gt;&lt;br /&gt;In most cases, it would be fine that first page is the home page. &lt;br /&gt;&lt;br /&gt;But this will not cover other use cases. &lt;br /&gt;&lt;br /&gt;See attach screen-shot&lt;br /&gt;&lt;br /&gt;first level pages: home, resources, regions&lt;br /&gt;&lt;br /&gt;for home page, it has children pages: feature, news, topics, and so on.&lt;br /&gt;&lt;br /&gt;In one time, the home page could be &amp;#34;feature&amp;#34;. Later, the home page should be &amp;#34;news&amp;#34;. &lt;br /&gt;&lt;br /&gt;That&amp;#39;s home page URL is required to be highly configurable in some use cases. &lt;br /&gt;&lt;br /&gt;Does it make sense?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Jonas</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2011-04-14T20:06:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8216655" />
    <author>
      <name>Shagul Khajamohideen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8216655</id>
    <updated>2011-04-12T14:35:19Z</updated>
    <published>2011-04-12T14:35:19Z</published>
    <summary type="html">It is possible that when bringing in Liferay as a collaboration platform, business owners may want to maintain cross-linking  between existing sites as well as maintain same top level navigation across them. So in that case, the first page may be a URL page to legacy system with similar look and feel.&lt;br /&gt;&lt;br /&gt;Though the use case is not that common and possible to work-around such requirements, I think what Jonas is looking for is a valid scenario.</summary>
    <dc:creator>Shagul Khajamohideen</dc:creator>
    <dc:date>2011-04-12T14:35:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8216346" />
    <author>
      <name>Julio Camarero</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8216346</id>
    <updated>2011-04-12T13:47:56Z</updated>
    <published>2011-04-12T13:47:56Z</published>
    <summary type="html">Hi Jonas, &lt;br /&gt;&lt;br /&gt;I didn&amp;#39;t fully understand you. Why would you need to have a home url which is not the first page in your site?</summary>
    <dc:creator>Julio Camarero</dc:creator>
    <dc:date>2011-04-12T13:47:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8047842" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8047842</id>
    <updated>2011-03-29T13:07:42Z</updated>
    <published>2011-03-29T13:07:42Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi Jorge, &lt;br&gt;&lt;br&gt;Thanks. If the feature got implemented and used, then for all sites, the visitor would be redirected to an specific friendly URL, which BTW could not even exist. But this is in the control of site admin, since site admin would be able to reset the default friendly URL like &lt;em&gt;/home&lt;/em&gt; (with virtual host), or &lt;em&gt;/web/guest/home&lt;/em&gt;.&lt;br&gt;&lt;br&gt;This feature first keeps current behavior - always showing the visitor the first page of each site - when this feature got disabled.&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;virtual.host.home.url.enabled=false&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;This feature then adds more one more flexibility for sites admin - showing the visitor any page (friendly URL) of each site as home URL.&lt;br&gt;&lt;br&gt;Refer to the blogs post:&lt;br&gt;&lt;a href="http://www.liferay.com/web/jonas.yuan/blog/-/blogs/making-home-url-and-web-content-seo-friendly-url-highly-configurable-in-multiple-web-sites"&gt;making-home-url-and-web-content-seo-friendly-url-highly-configurable-in-multiple-web-sites&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2011-03-29T13:07:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8024977" />
    <author>
      <name>Jorge Ferrer</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8024977</id>
    <updated>2011-03-27T19:14:40Z</updated>
    <published>2011-03-27T19:14:40Z</published>
    <summary type="html">Hi Jonas,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m trying to understand the use case for this need. Without this feature, for each site the first page will always be shown when accessing the site using it&amp;#39;s URL (even if it&amp;#39;s a virtual host URL).&lt;br /&gt;&lt;br /&gt;If the feature you suggest is implemented and used, then for all sites, the visitor would be redirected to an specific friendly URL, which BTW could not even exist. &lt;br /&gt;&lt;br /&gt;Wouldn&amp;#39;t that be less flexible for site admins than always showing the visitor the first page of each site?</summary>
    <dc:creator>Jorge Ferrer</dc:creator>
    <dc:date>2011-03-27T19:14:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7807922" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7807922</id>
    <updated>2011-03-08T19:17:43Z</updated>
    <published>2011-03-08T19:17:43Z</published>
    <summary type="html">Added one more screen-shot</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2011-03-08T19:17:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7765258" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7765258</id>
    <updated>2011-03-04T21:52:18Z</updated>
    <published>2011-03-04T21:52:18Z</published>
    <summary type="html">Attached screen-shots - solution proposal test</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2011-03-04T21:52:18Z</dc:date>
  </entry>
  <entry>
    <title>Proposal: making home URL highly configurable in multiple web sites</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7765234" />
    <author>
      <name>Jonas Yuan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7765234</id>
    <updated>2011-03-04T21:43:10Z</updated>
    <published>2011-03-04T21:43:10Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Considering scenario: there is one portal instance, two groups (either communities or organizations): street and workshop. &lt;br&gt;&lt;br&gt;Each group has its own virtual host like &lt;em&gt;street.bookpub.com&lt;/em&gt;, &lt;em&gt;workshop.bookpub.com&lt;/em&gt;. Each group has its own public pages and private pages. &lt;br&gt;&lt;br&gt;For example, the group street has following page structure&lt;br&gt;&lt;pre&gt;&lt;code&gt;Home
	Test
	Demo
Resource
Help&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;And each page has its own friendly URL like &lt;pre&gt;&lt;code&gt;/home, /resource, /help, /test, /demo&lt;/code&gt;&lt;/pre&gt;&lt;br&gt; For example, the group workshop has following page structure&lt;br&gt;&lt;pre&gt;&lt;code&gt;Help
Resource
Test
	Demo
Home&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;And each page has its own friendly URL like &lt;pre&gt;&lt;code&gt;/help, /resource, /home, /test, /demo&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Requirements: &lt;br&gt;1) Set home URL global – scoped to portal-instance, like /test&lt;br&gt;2) When hit URL: http: //street.bookpub.com[/], it should show the page /test of the group street; &lt;br&gt;3) No redirect in the picture; that is, the URL http: //street.bookpub.com[/] stays non-changed.&lt;br&gt;4) When hit URL: http: //workshop.bookpub.com[/], it should show the page /test of the group workshop; &lt;br&gt;5) Again there is no redirect in the picture; that is, the URL http: //workshop.bookpub.com[/] stays non-changed.&lt;br&gt;&lt;br&gt;Is this useful use case?&lt;br&gt;&lt;br&gt;Solution proposal:&lt;br&gt;&lt;br&gt;A. Add following properties &lt;br&gt;&lt;pre&gt;&lt;code&gt;## Home URL enabled or disabled
virtual.host.home.url.enabled=true

## Default home URL value. It will be used only if the property
## virtual.host.home.url.enabled is true, and home URL of Control Panel
## settings has value NULL. 
## That is, home URL value could be reset in Control Panel
virtual.host.home.url.name=/test&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;B. Implement home URL as new feature.&lt;br&gt;&lt;br&gt;Your suggestions?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;Jonas Yuan&lt;br&gt;==================&lt;br&gt;The Author of Liferay Books:&lt;br&gt;&lt;a href="https://www.packtpub.com/liferay-user-interface-development/book"&gt;Liferay User Interface Development&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.amazon.com/Liferay-Portal-6-Enterprise-Intranets/dp/1849510385"&gt;Liferay Portal 6 Enterprise Intranets&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.packtpub.com/liferay-portal-5-2-systems-development/book"&gt;Liferay Portal 5.2 Systems Development&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.packtpub.com/building-liferay-portal-enterprise-intranets/book"&gt;Liferay Portal Enterprise Intranets&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Jonas Yuan</dc:creator>
    <dc:date>2011-03-04T21:43:10Z</dc:date>
  </entry>
</feed>
