A web address, or URL, looks like one long string, but it's really a handful of parts with separate jobs. Knowing them makes it easier to share the right link, spot a fake one, and follow along when we talk about redirects or tracking links.
Here's one address, taken apart:
https://shop.example.com/services/web-design/?utm_source=newsletter#pricing
| Part | In the example | What it does |
|---|---|---|
| Protocol | https:// | How the browser talks to the site. The s means the connection is encrypted, which every site we build uses. |
| Subdomain | shop. | An optional section in front of your domain, often www, sometimes a separate area like a store or help center. |
| Domain name | example | The name you register and renew. It's yours, so keep the account it lives in under your control. |
| Top-level domain | .com | The ending. .com, .org and .us are all top-level domains. |
| Path | /services/web-design/ | Which page on the site. Each slash is a level, like folders. |
| Query string | ?utm_source=newsletter | Extra details for the page or your analytics, after a ?. Several are joined with &. |
| Fragment | #pricing | Jumps to a spot on the page. It never leaves your browser, so the server doesn't see it. |
Why It Matters for Your Website
- Changing a path changes the address. Rename a page and its old address stops working unless there's a redirect. Tell us before you rename important pages and we'll set one up so old links and bookmarks still land somewhere useful.
- Tracking lives in the query string. Those
utm_tags on links from emails, ads and social posts tell your analytics where visitors came from. They don't change the page. - A subdomain is its own address.
shop.example.comandexample.com/shop/can show the same store, but search engines and analytics treat them as different places, so we choose one on purpose. - Fragments make better links. Sharing a link that ends in
#pricingdrops people right where you want them, as long as the page has that spot marked.
Spotting a Fake Link
Read the domain name right before the first single slash, and the ending in front of it. That pair is who you're really visiting. In example.com.account-check.net/login the real site is account-check.net, not example.com, no matter what comes first.
Not sure whether a link is really from us, your bank, or your web host? Don't click it. Type the address you know yourself, or forward the message to us and ask.