How To Use Rewrite Rules for Friendly Urls in a Multi-Site Scenario, and When Not All Assets Are Subject to Friendly Urls
Last updated on NOVEMBER 03, 2016
Applies to:Oracle WebCenter Sites - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
We are implementing friendly URLs for pages with the format,
1. There will be two sites served by the same WebCenter Sites system:
<host>:<ip>/cs/Satellite/Site1/en/Home pointing to www.site1.com/en/Home
<host>:<ip>/cs/Satellite/site1/en/Home pointing to www.site2.com/en/Home
where <host>:<ip> will be the same for both the above cases. In this above case, how will we write the rule in the webserver, since <hostname>:<port>/cs/Satellite? can either point to site1.com or site2.com based on the site in the url?
2. We are implementing friendly urls only for page assets and for other assets like news & some other assets use typical long form URL generated using <render:gettemplateurl> without using the assembler, for example:
In such cases, it will fail if we make <host>:<ip>/cs/Satellite/Site1/ point to www.site1.com.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms