Using Site Studio Publisher, Links to External Site Studio Sites Contain Content Server URL Instead of Relative URL to the Site

(Doc ID 1388635.1)

Last updated on SEPTEMBER 19, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.5.0 and later
Information in this document applies to any platform.
***Checked for relevance on 05-Jun-2013***

Symptoms

Publishing a Site Studio Page having ssNodeLink code in the page template, the href for the navigation links reference the CONTENT SERVER url, and not a relative path. The fact that the content server URL is in the href makes it impossible to use this on a server that is not the content server.

Example: content server host name is cmck-vmcmsdev.mck.us.ray.com:16200/

Site Studio pages work fine when viewed on the content server, but when they are published the links retain the content server url

href="<!--ssNodeLink('11')-->"


becomes

href="http://abc.com:16200/about/index.html"


where it should be

href="/about/index.html"


This happens only when the linking to sections in external site studio sites.
Before (the first two links below are to sections in the same site studio sites, the last two links are to sections in different site studio sites)

<p><a href="ssNODELINK/256">test</a></p>
<p><a href='<!--$wcmUrl("nodelink","257")-->'>test</a></p>
<p><a href="javascript:nodelink('232');">test</a></p>
<p><a href='<!--$ssNodeLink("219")-->'>test</a></p>


After SSP publish:

<p><a href="./sitemanager/index.html">test</a></p>
<p><a href="./files/index.html">test</a></p>
<p><a href="http://abc.com:16200/businesses/ids/index.html">test</a></p>
<p><a href="http://abc.com:16200/resources/ci/index.html?ssSourceSiteId=onertn">test</a></p>

Cause

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