How the link structure works in a Prenly - Prenly
Understanding how a URL is structured can help editors, developers and analysts alike to quickly identify the type, origin and structure of content.
In this article, we break down two typical URLs from Prenly:
- One pointing to a page in a publication
- One pointing to an article.
We anonymize parts of the links to focus on the structure rather than the content.
Example 1: Page in a publication
https://[domännamn]/p/[slug]/2025-01-01/r/3/4-5/1234/123456
What each part means:
https://[domain name] The server where the content resides
/p/ Stands for publication, and is used as the entry point to the entire system for issues and articles
[slug] A specific name for the title, e.g. My magazine becomes my-magazine. This slug is configured in the system administration interface per title.
2025-01-01 Name of the publication. By default this is a date, but it is also possible to change this in Prenly admin to a text.
/r/ Stands for replica, i.e. reading in standard/PDF mode
3/ An internal sorting parameter for spreads, where each number represents a pair of pages.
For example:
1 = pages 1
2 = pages 2-3
3 = pages 4-5
4-5/ The actual page range of the spread.
1234 Title ID in Prenly
123456 Issue ID, i.e. the specific numbering of that particular publication.
Example 2: Article
https://[domännamn]/p/[slug]/2025-01-01/a/[artikel-slugg]/1234/123456/555666777
What each part means:
https://[domain name] Same as above: domain of the publishing platform.
/p/ Publication
[slug] Name of the publication (title)
2025-01-01 Same as above, name of the publication.
/a/ Stands for article
[article-slug] A search engine friendly variant of the article title, e.g. this-is-the-title-name
1234 Title ID (same as above)
123456 Issue ID (same as above)
555666777 Article ID - a unique ID for the specific article.
Summary
These links are systematically designed to combine readability with functionality. They make it easy to:
- Identify which publication the content belongs to
- See the publication date
- Know whether it is a whole page/page break or a single article
For systems that use this approach - such as editorial platforms like Prenly - it provides an efficient and predictable way to link content, automate processes and create metadata for sharing, analysis and indexing.