Absolute link
An absolute link (or absolute URL) is a hyperlink that specifies the complete address of a resource — the protocol, the domain and the path — for example https://nodea.pl/hosting/faq. Because the address is fully qualified, it points to the exact same destination regardless of which page, directory or even which site contains the link.
How an absolute link works
When a browser encounters an absolute link it does not need to interpret the context of the current page. It receives a complete URL and immediately knows where to send the request. This is the fundamental difference from a relative link, which describes a location relative to the address of the page currently being viewed. An absolute link always consists of three parts: the scheme (usually https://), the host name (the domain) and the path, optionally followed by a query string and a fragment.
Because the address is self-contained, an absolute link survives content being moved elsewhere in the site structure — it keeps resolving to the same target, whereas a poorly constructed relative link can break.
Practical application
Absolute links are mandatory wherever content is parsed away from its original page. In RSS feeds, XML sitemaps, HTML email and structured data there is no "current address" to resolve a relative path against, so the full URL is the only option. The same applies to canonical tags and Open Graph markup, which must always be expressed as absolute URLs.
From an SEO standpoint, consistency matters: always emit absolute links on HTTPS and settle on a single domain variant (with or without www) to avoid duplicate addresses. When a site migrates to a new domain or a new host, hard-coded absolute links are exactly what needs mass find-and-replace — which is why most CMS platforms generate them dynamically from a configured base URL rather than storing them literally.
Powiązane pojęcia
Najczęstsze pytania
When should I use an absolute link instead of a relative one?
Use absolute links whenever the content is read outside its source page — in RSS feeds, XML sitemaps, HTML emails, canonical tags and Open Graph metadata. They are also required when linking to a resource on a different domain, where a relative path simply cannot resolve.
