WebSphere Issues

28/07/2010

Friendly URLs in WebSphere Portal 6.1

Filed under: WebSphere Portal — Ishtiaque @ 9:37 am

Friendly URLs in WebSphere Portal 6.1 is disabled by default. In order to enable it please add friendly.enabled to true in Resources -> Resource Environment -> Resource Environment Providers > WP ConfigService from WebSphere App Server admin console. You can access the admin console by using the URL http://localhost:10027/admin.

Now you can create and confirm friendly URL for a page let us say My Page which is located inside Content Root.
http://localhost:10040/wps/myportal/mypage

Another thing worth to note 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://localhost:10040/wps/myportal/home/mypage

References:

http://www.mjonik.pl/blog/2010/01/friendly-urls-in-websphere-portal-6-1/

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: