OpenCms
knowledge base
Creating links
1. To create links always use the Link button ().
As an example, we will type:
For more information, contact us here or email info@mycompany.com. You can also visit our partner site.
Internal Links
1. To create an internal link highlight the text here and press the Link button ().
2. In the pop up that appears, press the folder icon () to open your website navigation structure. You can now link to any page within your site by clicking the relevant folder and sub-page:
3. In the above example we have opened the contact folder and selected index.html (index.html is the landing page for any folder). By clicking the page name, the link URL updates on the left.
4. Next, use the Target drop down and decide whether the link should open in a New window or in the Same window. In this example (since we are linking to the contacts page within the same site) we select Same window.
5. Next to Title, enter a short description for the link as the alt tag (eg. Contact our team). This appears when mousing over the link (once live) and is useful for search engines.
6. When you are done, press OK. The internal link has now been created. Save and close the page () and test the link in the preview screen.
Hint
Also see Inserting PDF and other downloads.
Email Links
1. To create an email link highlight info@mycompany.com and press the Link button
().
2. In the Link URL field type mailto: followed by the email address. In this example, we are typing mailto:info@mycompany.com.
3. Next to Target select New window (emails should always pop up in a new window).
4. In the Title field type a description for the link as the alt tag (eg. Email us). This appears when mousing over the link (once live) and is useful for search engines.
5. Press OK. The email link has now been created. Save and close the page ( ) and test the link in the preview screen.
External Links
1. To create an external link (to another website) highlight the text partner site and press the Link button ().
2. Next to Link URL type or paste the web address. Be sure to include the full link including http://.
3. Next to Target select New window (external links should always pop up in a new window).
4. In the Title field enter a description for the link as the alt tag (eg. Visit our partners). This appears when mousing over the link (once live) and is useful for search engines.
5. Press OK. You can now save and close the page ( ) and test the link in the preview screen.
Editing links
1. To edit links simply right-click the link text and select Edit Link from the drop down menu.
2. You can now edit the link details.
Removing links
1. To remove links simply right-click the link text and select Remove Link from the drop down.
2. You can also remove links by clicking the Remove Link button ( ) n the editor.