tag:help-archives.hannonhill.com,2010-02-09:/discussions/general/18596-cross-site-linkingCascade CMS: Discussion 2018-10-18T20:37:16Ztag:help-archives.hannonhill.com,2010-02-09:Comment/338827222014-07-24T12:55:10Z2014-07-24T12:55:10ZCross-Site Linking<div><p>Hi,</p>
<p>More information about cross-site linking (or linking in
general) can be <a href=
"http://www.hannonhill.com/kb/Linking/#cross-site-linking">found
here</a> on our knowledge base. Example syntax can be <a href=
"http://www.hannonhill.com/kb/Linking/#cross-site-links">found
here</a>.</p>
<p>To summarize, if you are adding the link programmatically, you
will use the following syntax:</p>
<pre>
<code>site://SITENAME/path/to/asset</code>
</pre>
<p>Where <code>SITENAME</code> is the name of the site. So, if your
site is called <code>example.com</code>, you would use
<code>site://example.com/path/to/asset</code>.</p>
<p>If you are linking to assets within a Format, it's always best
to use the <code>link</code> element as opposed to
<code>path</code>, because this element contains the site
information which will tell Cascade which site the asset belongs
to. Otherwise, Cascade will assume you are attempting to link to an
asset within the current site.</p>
<p>When adding links using a chooser or the WYSIWYG, you will see a
site selector at the top of the chooser window, which will allow
you to change sites and choose an asset within the desired
site.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/338827222014-07-24T13:43:50Z2014-07-24T13:43:50ZCross-Site Linking<div><p>Thank you so much. That was the little boost I needed!</p>
<p>As always, thank you for our timely and helpful response!</p></div>ces55739