Dan King commented on Jun 24, 2014

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

@Amit Pareek, has anyone successfully implemented this with Portal 7? We're looking to try this but don't want to waste the time if we can help it, if it's not going to work.

Thanks so much!

Dan

Staale Dybsjord commented on Feb 4, 2014

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

When clearing state and changing language. Could this method be relevant?

http://www-01.ibm.com/support/docview.wss?uid=swg1PM17679

For step 5: 5. Give the context path of this application and then start the application.

What would the contenxt path be?

Matthew Bearup commented on Jan 9, 2014

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi Amit and Andreas

Is there a way to get firendly urls for file components? Every file component we hav in our implementations still loads with the WCM ID in the url.

Amit Pareek commented on Dec 12, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

A common Question asked by many customer who are following this article :-

1) Wether this solution work if user selected a different language other than English.

Based on Andreas Prokoph recommendation , I would like to update some info -

Per default the Portal will determine the appropriate language for the user by looking at:

user preferences - if available

preferred language of the browser - if available

Portal default language

In the above listed cases, the language is not encoded in the URL. Thus will work with friendly/stateless URLs.

It is only when enablement is provided to allow users to change the language during runtime (e.g. some global site have language selection options in the theme/head portion of the page).

It is in that case that the language information is required to be encoded into the URL and takes precedence over the language identification scheme listed above. In this case, going with

stateless URLs will of course break dynamic language switching.

Amit Pareek commented on Dec 12, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hello Rajavar2013 Kumar,

I and other people tried this and succesfuly able to generate clean URL . Im sure you might have missed something.

Rajavar2013 Kumar commented on Nov 5, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi All,

I followed above step by step implementation to achieve friendly URLs. And I followed other articles in this page also. But I did not get any friendly urls.Still URLs including state information. Only thing I got some server errors when I run "rdirectOff.xml". Errors shows about unique theme id.

I sincerely appreciate your help.

Rajavar2013 Kumar commented on Nov 4, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi Amit,

I was following step by step by process to achieve friendly URL implementation in WPS 8 as shown in this article. But i did not see clean URLs. However, when I run redirectoff.xml through XMLAccess, I got following errors.

Please let me know, how to fix this issue. Thank you.

00000072 Engine E com.ibm.wps.command.xml.Engine processSax EJPFB0002E: Exception occurred.

com.ibm.wps.command.xml.XmlCommandException: EJPXA0067E: The following configuration data is needed to create a theme resource: resourceroot. [theme uniquename=ibm.portal.80Theme]

Matthew Bearup commented on Oct 21, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi all,

Step 5 in Part 3 confuses me somewhat. When it mentions "Give the context path of this application" what should this be? Obviously it defaults to "/". DO we set it to the context path for WCM? Our base page in the Portal?

By following the instructions, I was unable to get the .war file to start so I though the context may have been the issue

Jagadeesh Puvvada commented on Sep 5, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

This is great, Amit. Thanks for drafting in detail.

Amit Pareek commented on Sep 3, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi Gaurav,

As I mentioned earlier , this tutorial is specific for Portal 8.x and tested on version 8 only.

I seriously doubt if it work on version7 as url filter factory classes might not available in version 7 .

As well as you r getting error related to :- ibm.portal.80Theme . 80 Theme is not available in version 7 .

Gaurav K Goyal commented on Aug 22, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi Amit,

We are on WCM 7.0 and I am trying to run xmlaccess screen but i am getting below error , do i need to change anything for WCM 7.0 version ?

com.ibm.wps.command.xml.XmlCommandException: EJPXA0067E: The following configuration data is needed to create a theme resource: resourceroot. [theme uniquename=ibm.portal.80Theme]

Amit Pareek commented on Jul 25, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Navneet , from where you are taking the locale , if locale is set from request.getLocale than it should work .

Amit Pareek commented on Jul 25, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi Navneet,

I doubt multilingual will work with this . As we are removing the nav state and multilingual keeps info in the nav state .

I haven't tested it , but let me know if you found any different result .

Navneet Nigam commented on May 1, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi Amit

Thanks for the great Article..

Does this approach will work if we are having multilanguage support ?

We have requirement of implementing friendly URL in Portal 8 but our customer portal is supported in many language.

I think Portal keeps navigation state to keep the current selected language per session.

Could you please give some more details on this and also to my question.

Thanks

Navneet

Amit Pareek commented on Mar 2, 2013

Re: Implementing friendly URLs in IBM WebSphere Portal 8-based WCM rendering

Hi Vincent Saulnier ,

This article is speciic and tested for Portal/WCM version 8.

But you can try same steps for portal 7 also , for that you need to refer PortalServer_root\theme\wp.theme.modules\webapp\installedApps\ThemeModules.ear\ThemeModules.war\themes\html\dynamicSpots .

Again , Im not sure if this thing work there .

Please let us know about your findings.

Tahanks ,

Amit .

Vincent Saulnier commented on Feb 12, 2013

Re: Implementing a clean URL in IBM WebSphere Portal 8-based WCM rendering

Hi, I have this requirement on one of my projects but I'm on Portal 7. Is there a way to make this work with this version of portal?

Juan C Moreno commented on Jan 2, 2013

Re: Implementing a clean URL in IBM WebSphere Portal 8-based WCM rendering

Hi Amit. Those are great news!

Thank you.

Amit Pareek commented on Jan 2, 2013

Re: Implementing a clean URL in IBM WebSphere Portal 8-based WCM rendering

Hi Juan ,

As you mentioned "Lets say that I have a portal with 100 pages of pure content, and 5 pages that have other portlets. Will this feature work for me on this portal; even if it's just in the pure content pages. The other 5 wont break."

I would say , yes this feature of clean url will work for non-wcm (normal jsr) portlet . But it will work in there view(doView) mode , once the user do any action(process Action ) called it will have those parameter in the url .

Juan C Moreno commented on Dec 27, 2012

Re: Implementing a clean URL in IBM WebSphere Portal 8-based WCM rendering

Hi, I understand that this new feature works best in portal pages that only have a web content viewer portlets in them, and I totally understand if a page that has a login portlet besides some content needs to store state information, but, will this two co-exits or will they conflict?

Lets say that I have a portal with 100 pages of pure content, and 5 pages that have other portlets. Will this feature work for me on this portal; even if it's just in the pure content pages. The other 5 wont break.

Amit Pareek commented on Oct 31, 2012

Re: Implementing a clean URL in IBM WebSphere Portal 8-based WCM rendering

Well this step is not mandatory , as we are pointing WCM local rendering portlet to a site area in step 4 .

Denny Pichardo commented on Oct 29, 2012

Re: Implementing a clean URL in IBM WebSphere Portal 8-based WCM rendering

Is this step really necessary? Part 3. #3 "Change newly created Managed Page content association, mapping it to the Site Area created in Step 1."

Main reason I asked is that you loose a key benefit from using Managed Pages which is automatic associating the Page to a Site Area.