Articles on: Getting Started
This article is also available in:

What is a Relative Path?

Relative URL paths



A relative path is a link to a content, located on a page of the same site. Unlike an absolute path, a relative path does not include the entire URL.

It does not include the connection protocol (http/https) or the domain name of the site. Since the above elements are implicitly agreed, this link contains only the directory and its slug.

If a web user put this link in a search bar, the browser would find nothing. However, the relative path allows users to find the new page from the one where the link is located. They are therefore only for internal mesh use.

To create external links, you must use absolute paths including the full web address. This includes the connection protocol, the domain name and possibly a file or page name.

Updated on: 22/03/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!