SEO and Marketing

Understanding the Parts of a URL: A Complete Beginner's Guide

Author

Ивайло Костов

Short.bg blog author.

All articles by this author

We use URLs every day when we visit websites, share links, or publish content online. Yet many beginner webmasters do not know exactly what a URL is or how its different parts affect SEO, the user experience, and the way a website is organized.

In this guide, we will take a detailed look at the structure of URLs, explain what each part means, and show you how to create better, clearer links.

What Is a URL?

A URL (Uniform Resource Locator) is a unique address that points to the location of a resource on the internet. This could be a web page, an image, a PDF document, a video, or another file.

Example URL:

https://short.bg/blog/parts-of-url?source=google#examples

At first glance, it looks like an ordinary link, but it actually contains several different components.

The Main Parts of a URL

1. Protocol (Scheme)

The protocol appears at the beginning of the URL:

https://

The most common protocols are:

  • HTTP
  • HTTPS
  • FTP

Today, virtually every website should use HTTPS because it provides an encrypted connection between the visitor and the server.

Example:

https://short.bg

Here, the protocol is HTTPS.

2. Domain Name

The domain is the name of the website:

short.bg

This is the address users enter in their browser to reach a particular website.

A well-chosen domain should be:

  • easy to remember;
  • short;
  • relevant to the website's content;
  • easy to spell.

3. Subdomain

The subdomain comes before the main domain.

Example:

blog.short.bg

In this case:

  • blog is the subdomain;
  • short.bg is the main domain.

Subdomains are often used for:

  • blogs;
  • customer dashboards;
  • documentation;
  • separate versions of a website.

For example:

app.short.bg
support.short.bg
blog.short.bg

4. Path

The domain is followed by the path to a specific page:

/blog/parts-of-url

It shows where the resource is located within the website's structure.

Example:

https://short.bg/blog/parts-of-url

Here:

  • /blog is the category;
  • /parts-of-url is the specific article.

Well-structured URLs help both users and search engines understand the content of a page.

5. Query Parameters

Parameters can be added after a question mark (?):

?source=google

Example:

https://short.bg/blog/parts-of-url?source=google

Parameters are often used for:

  • tracking marketing campaigns;
  • filtering products;
  • sorting results;
  • passing data between pages.

A URL can also contain multiple parameters:

?source=google&utm_campaign=seo&utm_medium=organic

They are separated by the & symbol.

6. Fragment

The fragment appears after the # symbol.

Example:

#examples

Full URL:

https://short.bg/blog/parts-of-url#examples

It takes the user to a specific section of the page instead of the beginning.

This is especially useful for:

  • long articles;
  • documentation;
  • FAQ pages;
  • content with many sections.

What Does the Full Structure of a URL Look Like?

Let's look at the complete example:

https://blog.short.bg/seo/url-guide?source=google#examples

Breakdown:

Part Value
Protocol https
Subdomain blog
Domain short.bg
Path /seo/url-guide
Parameter source=google
Fragment examples

Why Are URLs Important for SEO?

URLs are one of the signals search engines use to understand content.

Good URL:

https://short.bg/blog/seo-optimizaciya

Poor URL:

https://short.bg/page.php?id=48291

The first version clearly indicates the page's topic, while the second provides no information.

Best Practices for SEO-Friendly URLs

Use Short URLs

Shorter links are easier to read and share.

Good example:

/seo-guide

Less effective example:

/complete-seo-guide-for-beginners-and-small-business-owners-2026

Use Descriptive Words

The URL should give readers an idea of what the page contains.

For example:

/validator-egn

is better than:

/page-12

Avoid Special Characters

It is best to use:

  • letters;
  • numbers;
  • hyphens.

Avoid:

  • spaces;
  • special characters;
  • unnecessarily encoded characters.

Use Hyphens Between Words

Search engines recognize hyphens better than underscores.

Good:

/parts-of-url

Less effective:

/parts_of_url

Avoid Unnecessary Parameters

Excessively long URLs with many parameters can be difficult for both users and search engines to process.

When Should You Shorten URLs?

Long links often look unprofessional and are difficult to share.

For example:

https://example.com/products/category/subcategory/product?id=12345&utm_source=newsletter&utm_medium=email

can be turned into a short, convenient link using a service such as Short.bg.

The benefits include:

  • easier sharing;
  • a cleaner appearance;
  • easier click tracking;
  • custom short URLs.

Common Mistakes

Many new website owners make the following mistakes:

  • using automatically generated URLs;
  • changing URLs without 301 redirects;
  • including dates unnecessarily;
  • using overly long structures;
  • creating multiple versions of the same page.

These practices can lead to lower search rankings and indexing problems.

Conclusion

Understanding URL structure is a basic skill for every webmaster. A URL consists of several elements: a protocol, a domain, a subdomain, a path, parameters, and a fragment. When properly structured, URLs improve navigation, make websites easier to use, and support SEO.

Whether you run a blog, an online store, or a company website, paying attention to your URL structure is a small investment that can deliver long-term benefits for both your visitors and your visibility in search engines.