A URL, short for uniform resource locator, is the full address of one page, image or file on the web: the text in the browser’s address bar that takes anybody straight to that exact place. A website has one domain and many URLs, one for every page. Each part of the address does a specific job, and the choices made about them decide whether your links are easy to share, easy to trust and still working in two years.
In short
- The full address of one page or file on the web.
- A domain names the site; a URL names one page on it.
- Good ones are short, readable, lower case and stable.
- Changing one breaks every link unless it is redirected.
The parts of an address
Take an address such as
https://www.example.ph/services/aircon-cleaning/?utm_source=facebook#prices
and read it from left to right.
- Scheme.
httpstells the browser how to connect. The s means the connection is encrypted, which is what an SSL certificate provides. - Subdomain.
wwwis a section in front of the main name. Other subdomains such as shop or book can point somewhere else entirely. - Domain.
example.phis the name you register and renew, as covered under domain hosting. The ending, here .ph, is called the top-level domain. - Path.
/services/aircon-cleaning/identifies the page within the site. The last part is often called the slug. - Query string. Everything after the question mark, here a campaign tag, carries extra information for the page or for analytics.
- Fragment. Everything after the hash jumps to a section of the page and is never sent to the server.
What makes a good one
A business URL is read by people as often as by machines: in search results, in chat messages, on printed material. That decides most of the rules.
- Readable words.
/services/aircon-cleaning/tells a visitor what they will find. A string of numbers tells them nothing. - Hyphens between words. Google recommends hyphens over underscores to separate words in a URL.
- Lower case throughout. Parts of an address can be case-sensitive, so mixed case risks two versions of one page.
- Short and shallow. Each extra folder makes the address longer and harder to read aloud or type from a poster.
- No dates or version numbers unless the page genuinely belongs to a date. They age the page and invite a change later.
The structure of the paths should mirror the structure of the site, which is where URLs meet information architecture and breadcrumbs.
Stability matters more than perfection
The most expensive thing a business can do to a URL is change it. Every link shared in a Facebook post, printed on a tarpaulin or saved by a customer points at the old address, and every search result Google has stored does too.
When an address must change, the old one should send visitors onward with a 301 redirect. Without it they arrive at a missing page and the HTTP status code tells search engines the page is gone. A website rebuild that renames every page without redirects can lose, in an afternoon, visibility that took years to earn.
This is why the better time to think about URLs is before the pages are built, when getting them right costs nothing.
Most website platforms let you choose the pattern used for addresses, and some default to numbers or dates. Choose the pattern once, before the first pages are published, because changing it later changes every address on the site at the same moment.
Parameters and duplicate addresses
The query string is useful and easy to overuse. Filters in an online shop, sorting options and tracking tags can turn one page into dozens of addresses showing almost the same content.
- Campaign tags. UTM parameters belong on links you share outside the site, so analytics can tell sources apart. They should never be added to links between your own pages.
- Filters and sorting. Each combination creates a new address. A canonical tag tells search engines which version is the real one.
- Trailing slashes and www. An address with and without a closing slash, or with and without www, can be treated as two pages. A site should pick one form and redirect the others to it.
Checking a URL before trusting it
The same parts that make an address readable also make it checkable. Before paying, logging in or typing a password, read the domain, which is the part immediately before the first single slash. Copies of real businesses often use a domain that differs by one letter, adds a word, or hides the real name inside a longer address.
For a business, this is a reason to use one domain everywhere: on the website, in email addresses and on printed material. Customers who always see the same address learn to notice when something else appears.
The same thinking applies to printed material. A link shortener hides the real destination, which is exactly what a careful customer has learned to distrust. A short address on your own domain is easier to trust, and a code from the QR code generator made from the full address saves typing altogether.
Words you will hear
- Domain. The registered name of a whole website.
- Slug. The readable last part of a page’s path.
- Path. The part after the domain that identifies a page.
- Query string. Extra information after a question mark.
- Parameter. One named value inside the query string.
- Permalink. The permanent address of a page, meant never to change.
Open your five most important pages and read each address aloud. If any of them would be hard to say over the phone or type from a sign, fix it now, with a redirect, before more links point at it.
Questions we get
More about url
What does URL stand for?
What is the difference between a URL and a domain?
What makes a good URL for a business page?
Do the words in a URL help with Google?
What happens if we change a page's URL?
Are URLs case-sensitive?
What is the part after the question mark?
Do it yourself
Guides on the same topic
Free step by step guides for owners doing the work themselves. No sign up and no email required.
Related terms
Subdomain
A subdomain is a section of your domain treated as a separate address. Choosing one over a folder splits your site in ways search engines take seriously.
301 redirect
A 301 redirect tells browsers and search engines a page has moved permanently. It is how you change an address without losing its visitors or search value.
UTM parameters
UTM parameters are tags added to a link so your analytics can report where a visit came from. They are the only reliable way to tell campaigns apart.