tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/16360-relative-links-publishing-with-siteglobal-after-migrationCascade CMS: Discussion 2015-02-24T21:28:43Ztag:help-archives.hannonhill.com,2010-02-09:Comment/359418952015-02-02T21:17:04Z2015-02-02T21:17:04ZRelative links publishing with site://Global after migration<div><p>I have migrated a folder from the Global area and the existing
relative links are publishing as
<a>site://Global/.......instead</a> of rewriting correctly. What
can I do to correct this?</p></div>karen.wilsontag:help-archives.hannonhill.com,2010-02-09:Comment/359418952015-02-03T13:39:21Z2015-02-03T13:39:21ZRelative links publishing with site://Global after migration<div><p>Hi Karen,</p>
<p>Once migrated to a Site, links can no longer reference assets
within the Global area, the referenced asset must be within either
the same Site or a different Site. The <code>site://Global</code>
is more like a placeholder to let you know the asset is within
Global.</p>
<p>At this point, either these assets would need to be moved to a
Site as well or you would need to change the link to an external
link as opposed to an internal link. Either way, you would need to
update the link accordingly.</p>
<p>When you migrated the folder, was it just a "sub-site" of sorts?
If so, I think you may have been better off migrating the entire
base folder of Global first. This way, you could simply move the
sub-site folders into a new empty Site as opposed to migrate them
individually.</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/359418952015-02-03T17:10:09Z2015-02-03T17:10:09ZRelative links publishing with site://Global after migration<div><p>If I migrate the rest of Global to a separate site at this
point, will those links be re-routed or will I still need to modify
them in the site I just migrated?</p>
<p>Karen Wilson<br>
Web Designer<br>
Southwestern Oklahoma State University<br>
<a href=
"mailto:karen.wilson@swosu.edu">karen.wilson@swosu.edu</a><a href=
"mailto:karen.wilson@swosu.edu">karen.wilson@swosu.edu</a></p></div>karen.wilsontag:help-archives.hannonhill.com,2010-02-09:Comment/359418952015-02-03T17:10:11Z2015-02-03T17:10:11ZRelative links publishing with site://Global after migration<div><p>Can I use the Replace feature to change the links? I know how to
do it to replace <a>site://Global/swosu/</a> but wondered about
added the file extension at the end of .aspx. Is there a way to use
a wildcard for the middle information?</p>
<p>Something like:<br>
Search Terms: <a>site://Global/swosu/</a><br>
Replacement Term: /*.aspx</p>
<p>Karen Wilson<br>
Web Designer<br>
Southwestern Oklahoma State University<br>
<a href=
"mailto:karen.wilson@swosu.edu">karen.wilson@swosu.edu</a><a href=
"mailto:karen.wilson@swosu.edu">karen.wilson@swosu.edu</a></p></div>karen.wilsontag:help-archives.hannonhill.com,2010-02-09:Comment/359418952015-02-03T19:28:00Z2015-02-03T19:28:00ZRelative links publishing with site://Global after migration<div><p>Hi Karen,</p>
<blockquote>
<p>If I migrate the rest of Global to a separate site at this
point, will those links be re-routed or will I still need to modify
them in the site I just migrated?</p>
</blockquote>
<p>Unfortunately, at this point, the links would remain and you
would need to modify them manually regardless.</p>
<blockquote>
<p>Can I use the Replace feature to change the links? I know how to
do it to replace <a>site://Global/swosu/</a></p>
</blockquote>
<p>You might be able to use search/replace to update the links. I'm
not sure if it will catch all references; however, such as
choosers. As a test, you could try just running the initial search
of:</p>
<p>Search term: <a>site://Global/swosu/</a><br>
Replacement: <a>site://Global/swosu/</a></p>
<p>This will give you a sense of what is returned without actually
replacing anything. If the results look promising, you would update
the Replacement Term from <code>Global</code> to your new Site's
name.</p>
<blockquote>
<p>wondered about added the file extension at the end of .aspx. Is
there a way to use a wildcard for the middle information?</p>
</blockquote>
<p>Because these are links to assets within Cascade, you shouldn't
need to worry about the file extensions. File extensions are added
on publish.</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/359418952015-02-03T19:57:02Z2015-02-03T19:57:02ZRelative links publishing with site://Global after migration<div><p>Hi Karen,</p>
<p>I wanted to follow up to let you know that I've spoken with our
Services team to see if they have run into this situation with
other clients.</p>
<p>As <a href=
"http://help.hannonhill.com/discussions/how-do-i/16360-relative-links-publishing-with-siteglobal-after-migration#comment_35947528">
I mentioned previosly</a>, they indicated the ideal migration
process would involve moving everything within Global and moving
the various sub-sites after the migration. This way, your
references should be updated correctly. The problem of course, is
in order to "undo" the migration, you would need to restore your
database to prior to the migration, which may result in loss of
data depending on how many changes were made since the backup.</p>
<p>That being said, migrating in chunks is definitely doable, it's
just more of a manual process in terms of updating the references
that were pointing to assets within the Global area that were not
migrated.</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/359418952015-02-03T19:59:29Z2015-02-03T19:59:29ZRelative links publishing with site://Global after migration<div><p>So it sounds like my best bet is to deal with these manual
updates for this particular folder that I already migrated and then
for the rest of the folders in Global right now, I’d better
go ahead and migrate all of it. I will need to break it down into
smaller chunks later but at least I wouldn’t be going through
this mess again, right?</p>
<p>Karen Wilson<br>
Web Designer<br>
Southwestern Oklahoma State University<br>
<a href=
"mailto:karen.wilson@swosu.edu">karen.wilson@swosu.edu</a><a href=
"mailto:karen.wilson@swosu.edu">karen.wilson@swosu.edu</a></p></div>karen.wilsontag:help-archives.hannonhill.com,2010-02-09:Comment/359418952015-02-03T20:57:00Z2015-02-03T20:57:00ZRelative links publishing with site://Global after migration<div><p>Hi Karen,</p>
<p>The steps you listed sound like the best direction at this
point. This would avoid the potential loss of data if you were to
revert back to prior to running the migration.</p>
<p>Once you are able to migrate the rest of what is Global, moving
the smaller chunks should be much easier.</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/359418952015-02-24T21:17:50Z2015-02-24T21:17:50ZRelative links publishing with site://Global after migration<div><p>Hi Karen,</p>
<p>I was going over some older discussions and noticed this one is
still open. How have things been going with your Global to Sites
migration?</p>
<p>Please feel free to let us know if you have any other
questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/359418952015-02-24T21:21:09Z2015-02-24T21:21:09ZRelative links publishing with site://Global after migration<div><p>We’ve worked through all the issues so are now completely
OUT of the Global area. Yeah!</p>
<p>Karen Wilson<br>
Web Designer<br>
Southwestern Oklahoma State University<br>
(580) 774-6147 <a href=
"mailto:karen.wilson@swosu.edu">karen.wilson@swosu.edu</a><a href=
"mailto:karen.wilson@swosu.edu">karen.wilson@swosu.edu</a></p></div>karen.wilsontag:help-archives.hannonhill.com,2010-02-09:Comment/359418952015-02-24T21:28:42Z2015-02-24T21:28:42ZRelative links publishing with site://Global after migration<div><p>Thank you for following up, Karen, that is definitely great
news! I am glad to hear you were able to successfully migrate.</p>
<p>As a side note, now that you are in Sites, you will be able to
take advantage of newer features/functionality that are specific to
Sites.</p>
<p>I'm going to go ahead and close this discussion, please feel
free to comment or reply to re-open if you have any additional
questions.</p>
<p>Have a great day!</p></div>Ryan Griffith