How to change the default portal URL (/wps/portal) in WebSphere Portal?

0 comments

Some time back I was paying my land line phone bill on BSNL government site and suddenly i discovered /wps/portal/ keyword in the site URL which is nothing but the default context root or the base URL for WebSphere Portal. I did some more goggling and I was little surprised to see several websites which is using the default context root of WP. Most of the organizations used to change the default context root to something more meaningful and matching to their needs.

It always better to hide your underlying implementation technology for any web application for security purposes. Here are few sites that I found while goggling which contains these keywords in their URL.

http://www3.alcatel-lucent.com/wps/portal/aboutus
http://www.data.bsnl.in/wps/portal
http://lifeline.reliancelife.com/wps/portal/agent
https://my.dhfl.com/wps/portal
https://myinsurance.tataaia.com/wps/portal/Customer/CustomerLogin

There is some configuration work involved in changing the URL but it's worth your enterprise time to get cleaner look in the URLs.

Below are the steps to achieve this:

1. First of all, make a copy of installed apps for redeployment after the URL changes are done. By default, all the apps are installed under /wps/portal. The installed apps are located at

\IBM\WebSphere\wp_profile\installedApps\nodeName

2. Select and open wkplc.properties file from the following directory

\IBM\WebSphere\wp_profile\ConfigEngine\properties

Now search for the "WpsContextRoot" word in the file and change default keyword "wps" to your desired name and save it.

3. Select and open wkplc _comp.properties now which is located in same directory and change "WpsDefaultHome" and "WpsPersonalizedHome" to desired name.

4. For windows environment, now open command prompt and run the following command to apply the changes.

ConfigEngine.bat modify-servlet-path –DPortalAdminPwd=password – DWasPassword=password

5.Restart the server and notify the new names in the portal URL.

You can read the complete article from IBM on Change the Portal URI here.

No comments:

Post a Comment

Recent Posts

Reader Comments

Popular Posts

© 2011-2014 Web Portal Club