How To Use Rewrite Rules for Friendly Urls in a Multi-Site Scenario, and When Not All Assets Are Subject to Friendly Urls
(Doc ID 1568282.1)
Last updated on DECEMBER 12, 2018
Applies to:Oracle WebCenter Sites - Version 18.104.22.168.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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document