Relative links publishing with site://Global after migration

karen.wilson's Avatar

karen.wilson

02 Feb, 2015 09:17 PM

I have migrated a folder from the Global area and the existing relative links are publishing as site://Global/.......instead of rewriting correctly. What can I do to correct this?

  1. 1 Posted by Ryan Griffith on 03 Feb, 2015 01:39 PM

    Ryan Griffith's Avatar

    Hi Karen,

    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 site://Global is more like a placeholder to let you know the asset is within Global.

    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.

    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.

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by karen.wilson on 03 Feb, 2015 05:10 PM

    karen.wilson's Avatar

    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?

    Karen Wilson
    Web Designer
    Southwestern Oklahoma State University
    [email blocked]<mailto:[email blocked]>

  3. 3 Posted by karen.wilson on 03 Feb, 2015 05:10 PM

    karen.wilson's Avatar

    Can I use the Replace feature to change the links? I know how to do it to replace site://Global/swosu/ but wondered about added the file extension at the end of .aspx. Is there a way to use a wildcard for the middle information?

    Something like:
    Search Terms: site://Global/swosu/
    Replacement Term: /*.aspx

    Karen Wilson
    Web Designer
    Southwestern Oklahoma State University
    [email blocked]<mailto:[email blocked]>

  4. 4 Posted by Ryan Griffith on 03 Feb, 2015 07:28 PM

    Ryan Griffith's Avatar

    Hi Karen,

    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?

    Unfortunately, at this point, the links would remain and you would need to modify them manually regardless.

    Can I use the Replace feature to change the links? I know how to do it to replace site://Global/swosu/

    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:

    Search term: site://Global/swosu/
    Replacement: site://Global/swosu/

    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 Global to your new Site's name.

    wondered about added the file extension at the end of .aspx. Is there a way to use a wildcard for the middle information?

    Because these are links to assets within Cascade, you shouldn't need to worry about the file extensions. File extensions are added on publish.

    Please let me know if you have any questions.

    Thanks!

  5. 5 Posted by Ryan Griffith on 03 Feb, 2015 07:57 PM

    Ryan Griffith's Avatar

    Hi Karen,

    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.

    As I mentioned previosly, 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.

    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.

    Please let me know if you have any questions.

    Thanks!

  6. 6 Posted by karen.wilson on 03 Feb, 2015 07:59 PM

    karen.wilson's Avatar

    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?

    Karen Wilson
    Web Designer
    Southwestern Oklahoma State University
    [email blocked]<mailto:[email blocked]>

  7. 7 Posted by Ryan Griffith on 03 Feb, 2015 08:57 PM

    Ryan Griffith's Avatar

    Hi Karen,

    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.

    Once you are able to migrate the rest of what is Global, moving the smaller chunks should be much easier.

    Please let me know if you have any questions.

    Thanks!

  8. 8 Posted by Ryan Griffith on 24 Feb, 2015 09:17 PM

    Ryan Griffith's Avatar

    Hi Karen,

    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?

    Please feel free to let us know if you have any other questions.

    Thanks!

  9. 9 Posted by karen.wilson on 24 Feb, 2015 09:21 PM

    karen.wilson's Avatar

    We’ve worked through all the issues so are now completely OUT of the Global area. Yeah!

    Karen Wilson
    Web Designer
    Southwestern Oklahoma State University
    (580) 774-6147
    [email blocked]<mailto:[email blocked]>

  10. 10 Posted by Ryan Griffith on 24 Feb, 2015 09:28 PM

    Ryan Griffith's Avatar

    Thank you for following up, Karen, that is definitely great news! I am glad to hear you were able to successfully migrate.

    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.

    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.

    Have a great day!

  11. Ryan Griffith closed this discussion on 24 Feb, 2015 09:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac