Skip to main content
All CollectionsAdvanced Guides
Add hyperlinks to placeholder values
Add hyperlinks to placeholder values

If you need to insert links to other pages to the content for the created pages. Here is how you can do it.

Jonas Lindemann avatar
Written by Jonas Lindemann
Updated over 3 weeks ago

You can include hyperlinks in placeholder values within your source file by using standard HTML. This is a great way to add clickable links to your generated pages, whether they link externally or internally.

How to Add Links

External Links
To link to an external website, enter the HTML code directly into your source file, like this:

<a href="https://website-2.com">This is a link to a website.</a> And this is some other text.

Internal Links
For links within your own website, use the following format:

<a href="/website-1">This is a link to a page on your website.</a> And this is some other text.

Things to Keep in Mind:

  1. Admin Access: Ensure you have administrator rights on your website for these links to render correctly.

  2. HTML Validation: Double-check your HTML formatting to avoid issues when the content is displayed on your pages.

  3. Dynamic Content: The hyperlinks can be combined with placeholders if necessary, adding even more flexibility.

Example

If your placeholder column in the source file contains:

<a href="https://example.com">Click here</a> for more information.

This will display as:

Click here for more information.

Once LPagery processes your source file, the hyperlinks will appear dynamically on the generated pages.

Did this answer your question?