Websites will often use links, either in main and sidebar navigation, linked text or from buttons, to help visitors navigate the website. Read below for instructions on how to work with the various types of linking within Sitecore XM Cloud.
Internal links are links to another page within the same website, or to a page on another website that is also in MSU’s Sitecore XM Cloud.
Navigate to the page in the Internal link window and click to select.
Note: To link to another MSU website in XM Cloud that you have access to, click the Context site dropdown to choose the site and then locate the page.
Navigate to the page in the Internal link window and click to select.
Note: To link to another MSU website in XM Cloud that you have access to, click the Context site dropdown to choose the site and then locate the page. (See Figure 2.)
External links are links to a page on a website that is not in MSU’s Sitecore XM Cloud. These could include links to campus websites in Sitecore XP, Cascade or another content management system, or off-campus websites, such as social media platforms.
Click the Link icon in the editing toolbar.
Media links are links to assets, including image files or document files (i.e., PDFs.) Right now PDFs should be linked using Content Editor.
Begin in Pages:
In Content Editor:
Anchor links are links to a specific section on a webpage. The anchor can be on the same page or a different page within a website. Anchor links must be added to the website code, so it’s best to use them when linking within the same website so the content author can control the code and ensure it is not inadvertently deleted, which would break any other site’s link to that anchor.
Before linking to an anchor, the anchor must be placed on a page. Sitecore XM Cloud makes this easy.
Select the component that needs an anchor.
Quick tip: To account for parallax scrolling effects on a page, it is recommended to place the anchor slightly above the text that needs the anchor. Adding an anchor to a subheading component above the content works well.
Enter the desired anchor text in the Page Anchor ID field.
Requirements: Keep the anchor text brief, all lowercase with no spaces and be sure the anchor is unique within the website.
Documentation updated: Sept. 13, 2024