Knowledgebase10 Examples of a URL (With Simple Breakdown)

A URL is the address of a page or file on the internet. Here are 10 URL examples and what each part means.

DocumentationUpdated Jan 26, 2026

10 Examples of URL (and what each part means)

A URL (Uniform Resource Locator) is the full address of a resource on the internet, like a web page, image, PDF, or API endpoint. It tells your browser what protocol to use and where to find the resource. In this guide you will get 10 simple URL examples, plus a quick breakdown of parts like the domain, path, query, and fragment.

What is a URL?

A URL is the specific “location” of something online. If a domain is like the building name, a URL is the exact apartment number plus directions. A URL can point to a homepage, a blog post, an image file, a checkout page, or even an email address (with a different scheme like mailto:).

Why URLs matter (for users, SEO, and security)

  • User experience: clean URLs are easier to read, share, and trust.
  • SEO: descriptive paths (like /blog/what-is-url) help search engines understand page intent.
  • Security: https encrypts data in transit, which matters for logins, payments, and forms.
  • Troubleshooting: URLs help you pinpoint issues (wrong path, missing page, broken query parameters, redirects).

Parts of a URL (quick map)

Most website URLs follow this pattern:

scheme://subdomain.domain.tld:port/path?query#fragment

PartExampleWhat it does
Scheme (protocol)httpsTells the browser how to connect (HTTPS, HTTP, FTP, mailto, etc.).
Subdomainwww, blog, apiOptional prefix used to separate sections/services of a domain.
Domain + TLDexample.comThe human-friendly address that maps to an IP via DNS.
Port:443, :8080Usually hidden. Indicates which server port to connect to.
Path/products/hostingPoints to a specific resource or route on the server.
Query string?plan=pro&currency=USDExtra parameters for filtering, tracking, search, sorting, etc.
Fragment#pricingJumps to a section on the page (handled by the browser).

10 Examples of URL

Here are 10 common URL examples you will see in real life, with a short explanation of what makes each one different.

  1. Standard HTTPS webpage
    https://example.com/
    This points to the homepage on the secure HTTPS protocol.
  2. Webpage with a path (a specific page)
    https://example.com/blog/what-is-a-url
    The path (/blog/what-is-a-url) identifies a specific page or route.
  3. URL with a query string (filters or tracking)
    https://example.com/search?q=hosting&page=2
    Query parameters after ? pass data like search terms and pagination.
  4. URL with a fragment (jump to a section)
    https://example.com/pricing#shared-hosting
    Everything after # points to a section on the same page.
  5. Subdomain URL
    https://blog.example.com/
    The subdomain (blog) can host a separate site or section under the same domain.
  6. URL with a port (common in development)
    http://localhost:3000/
    The :3000 port tells the browser which service to connect to on the host.
  7. File URL (direct file resource)
    https://example.com/files/price-list.pdf
    This URL points directly to a PDF file on the server.
  8. FTP URL (file transfer)
    ftp://ftp.example.com/public/file.zip
    FTP URLs are used for file transfer. Many browsers limit FTP support, so you often use an FTP client instead.
  9. Email link (mailto URL)
    mailto:support@example.com?subject=Help%20with%20my%20website
    This opens the user’s email client with the recipient and subject pre-filled.
  10. Phone link (tel URL)
    tel:+15551234567
    On mobile devices this starts a phone call (or prompts a dial action).

How URLs work (what happens after you press Enter)

  1. DNS lookup: your device asks DNS where the domain points, and gets an IP address.
  2. Connect: the browser connects to the server (usually port 443 for HTTPS).
  3. TLS security (HTTPS): a TLS handshake encrypts the connection and validates certificates.
  4. Request the path: the browser requests the path and sends query parameters (if any).
  5. Response: the server returns HTML, JSON, images, or files. Your browser renders the result.
  6. Fragment handling: if the URL has a #fragment, the browser scrolls to that section after the page loads.

URL vs domain vs link (simple comparison)

TermExampleMeaning
Domainexample.comThe name that maps to an IP via DNS.
URLhttps://example.com/about?ref=nav#teamFull address including protocol, path, and optional parameters.
LinkVisitClickable HTML that points to a URL.

Note: You may also hear URI (Uniform Resource Identifier). In simple terms, a URL is a kind of URI that tells you where something is located and how to access it.

Common URL myths (quick fixes)

  • Myth: “www is required”
    Reality: www is just a subdomain. Many sites work with or without it.
  • Myth: “https and http are the same”
    Reality: HTTPS encrypts traffic and is safer for logins and payments.
  • Myth: “a URL is only the domain name”
    Reality: the domain is only one part. The path and query are often what make a URL specific.
  • Myth: “a shorter URL is always better”
    Reality: shorter can be nicer, but clear and descriptive is usually better for users and SEO.
  • Myth: “the # part is sent to the server”
    Reality: a fragment (like #pricing) is handled by your browser to jump on the page. It is not part of the request sent to the server.

Where URLs meet real website setup (Middlehost quick pointers)

In real life, “my URL does not work” is usually one of these: the domain is not pointed correctly (DNS), HTTPS is not enabled, or the page path was changed without a redirect. If you are starting a new site, these pages help you get the basics right: register a domain name, pick a reliable web hosting plan, and enable SSL certificates for HTTPS.

If you use WordPress, performance is often improved with a good server stack (for example LiteSpeed with LSCache on supported plans) and clean URL slugs. For growing sites, consider managed WordPress hosting so your important URLs stay fast and stable.

FAQs

What is a URL in simple words?

A URL is the full address of a page or file on the internet. It includes the protocol (like https), the domain (like example.com), and often a path that points to a specific page. Some URLs also include parameters (after ?) or a fragment (after #).

What is the difference between a URL and a domain?

A domain is the name of a website, like example.com. A URL is the complete address, like https://example.com/blog/post-1. The URL can include the domain plus extra parts such as subdomains, paths, query parameters, and fragments. So a domain is part of a URL, not the whole thing.

Can a URL contain spaces?

A URL should not include raw spaces. If something has spaces, they are encoded, usually as %20. For example, my page becomes my%20page in a URL. For websites, it is better to use hyphens in slugs (like my-page) to keep URLs readable and consistent.

What is a query string in a URL?

A query string is the part after the question mark in a URL. It carries key-value parameters like ?q=hosting&page=2. Websites use it for search, filtering, sorting, and tracking. Depending on the website, changing query parameters can change what you see without changing the main path.

What is a URL slug?

A URL slug is the readable part of the path that identifies a page, usually after the domain. For example, in https://example.com/blog/what-is-a-url, the slug is what-is-a-url. Good slugs are short, descriptive, lowercase, and use hyphens. Avoid random IDs unless you really need them.

Supercharge Your Website with Blazing-Fast Hosting

Join thousands of businesses and creators who trust us to deliver unmatched speed, reliability, and support. Let’s chat and find the perfect plan for you!

Chat with Us
99.9% Uptime
24/7 Support