Links in website content

Absolute vs. Relative URLs

For links that point towards the same website, always use relative URLs.

For links that point towards other domains, use absolute URLs.

This ensures that the links function correctly when the site is migrated across domain. For example, when we build content on staging.example.com and then it gets launched on example.com

Relative (internal) URL example: /about

Absolute (external) URL example: https://staging.example.com/about

When using the Statamic CMS (content management system), create internal links using the Entry option.