Use friendly URLs
We can associate friendly URLs with portal pages and labels. We use these friendly URLs to access specific portal pages or labels using a human readable path.
For a friendly URL to work for a specific page, define a friendly URL name for every page or label in the path of the portal page hierarchy that leads to that page. We can do this in the page properties. Friendly URLs take the following general form:
http://host:port/PORTAL_HOME/portal/page_id/[!ut/p/encoded_portal_suffix]
The page_id portion of the friendly URL is made up of the friendly URL names of all pages in the path of the page hierarchy. This path begins at the content root and ends with the page for which to give the users a friendly URL.
Example: We have a portal page named Products in the user interface and has a friendly URL name products. Under this Products page we have another page, which is named Appliances and has a friendly URL name appliances. To access the Appliances page, users can type the following friendly URL into the browser address field:
http://www.example.com:10039/wps/portal/products/appliances
We can configure a friendly URL using the portal toolbar or the Manage Pages administration portlet.
- Click...
Administration | Portal User Interface | Manage Pages
- Locate the page for which to configure a friendly URL.
- Click the Edit Page Properties icon.
- In the field Friendly URL name, type the friendly name for the page.
- Click OK to save the changes.
- Repeat this procedure for every page or label in the path of the portal page hierarchy that leads to the target page.
What to do next
To make up the full IBM WebSphere Portal URL, the portal appends a suffix to that friendly URL. This suffix represents the current state of the page and its components. Some scenarios require short and fully human readable URLs that omit the state information. For information about how to configure short stateless URLs see Use friendly URLs without state information.
Parent Manage pages portlets