Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Web Design

Relative URL

Also known as: relative link

1 min read Updated November 10, 2026

Definition A web link that gives only the path to a page from the current site, not the full address.

What it is

A relative link such as /contact works on whatever domain the site is on, unlike an absolute link with the full domain.

Why it matters for your business

Relative links make migrating a site to a new domain simpler, but errors can break them.

Real-world example

After moving a site from a test address to the live domain, relative links keep working automatically.

Design Corner tip

Use relative links in themes, but give full links in emails and social posts.