Michał Jonik
2010-01-20 · archive

Friendly URLs in WebSphere Portal 6.1

Archived post from 2010, recovered from my old blog. The technology described here is probably out of date. Original at the Internet Archive.

WebSphere Portal 6.1. introduced a friendly URL service. It simplifies creating friendly URLs for pages created within portal structure. Page Properties portlet provides an additional field which specifies the URL suffix which will be appended to portal URL:

However, the service is disabled by default which often confuses portal administrators. To enable it:

  • log in to WebSphere Application Server console
  • navigate to Resources -> Resource Environment -> Resource Environment Providers
  • click WP ConfigService on the providers list
  • click Custom properties under Additional properties section
  • add new property called friendly.enabled and set it to true
  • save changes
  • restart server

Now I can confirm that my friendly URL works when I navigate to the following URL:

http://myserver:10040/wps/myportal/mypage

Another confusing thing related to friendly URLs is that a path must reflect pages hierarchy. The above example works only when My Page is placed below Content Root. In order to place the page under Home, a friendly URL for Home label must be also created (for example: home) and then the path to My Page would be:

http://myserver:10040/wps/myportal/**home/mypage**

friendly urlPortal