What is a URL?Website URLs Explained + SEO-Friendly URL Best Practices (2026)

Understanding web terminology when you’re new to blogging can feel like learning a second language. So let me take the confusion out of this one. A URL (Uniform Resource Locator) is the complete address of a web page on the Internet — and writing SEO-friendly URLs is one of the easiest, highest-leverage things you can do to rank in Google. Here’s everything you need to know, explained simply, with real examples from my own blog.

Ryan Robinson Founder, Blogger, Author at ryrob.com and RightBlogger (Head Shot)
Get My 50+ Free Blogging Tools Delivered Straight to Your Inbox

"*" indicates required fields

This field is for validation purposes and should be left unchanged.
Enter your first name

Understanding web terminology when you’re new to blogging can feel like learning a second language. So let me take the confusion out of this one.

What is a URL? In short, it’s the complete address of a web page on the Internet. But there’s a bit more to it than that, especially if you care about ranking your content in Google, which you should. The URL of a blog post is one of the strongest SEO signals you control, and most bloggers get it wrong without realizing.

In this guide, I’ll break down what a URL actually is, the six parts that make up every URL on the web, the difference between URLs and URIs (a question I get a lot), plus the exact best practices I use to write SEO-friendly URLs for every post here on ryrob.com.

What is a URL? (Definition)

A URL (short for Uniform Resource Locator) is the complete address of a web page or file on the Internet. It starts with your domain name, includes the full path to a specific page, and tells browsers and search engines exactly where to find the content.

For example, the URL of the page you’re reading right now is https://www.ryrob.com/what-is-a-url/. That one address tells your browser which server to talk to (ryrob.com), what protocol to use (https), and which specific page to load (/what-is-a-url/).

From a more technical perspective, a URL is a reference to a web resource that specifies its exact location on a server network and the mechanism for retrieving it. In plain English: it’s the GPS coordinate for content on the web.

Example of an SEO-friendly website URL shown in the browser address bar

Over the years, I’ve been teaching 500,000+ monthly readers how to start a blog on the right foot, and one of the questions I almost always get from new bloggers is how to create URLs that’ll actually rank in organic Google search results. So let’s break down what’s inside a URL, then I’ll show you exactly how to write ones that are SEO-friendly.

The Anatomy of a URL: 6 Parts Explained

Every URL on the web is built from the same six components. You won’t always see all six in every URL, but understanding each one helps you make smart decisions about how to structure your own.

Here’s an example URL with every piece labeled:

https://www.ryrob.com/blog/what-is-a-url?ref=google#top
|     | |   | |       | |                |       |
1     2 3   4 5       5 6                7       8

1. Protocol (https://)

The protocol tells your browser how to talk to the server. You’ll see two: http:// (unsecured) and https:// (secured with SSL/TLS). In 2026, every blog should be on HTTPS. Google treats it as a ranking signal, browsers show security warnings on HTTP pages, and most modern hosting providers set up HTTPS for free with a few clicks.

2. Subdomain (www.)

The subdomain is the part that comes before your main domain. The most common is www, but you’ll also see blog., shop., app., and others. Pick one and stick with it — if you flip between www.ryrob.com and ryrob.com, you’re splitting your SEO equity across two versions of the same site. A simple 301 redirect from one to the other fixes it.

3. Domain Name (ryrob)

The domain name is your brand on the web. It’s the part you pay to register with a domain registrar, and it’s unique to you. Choosing a good domain name is its own rabbit hole — check out my guide to choosing a domain name and my blog name guide if you’re still deciding on yours.

4. Top-Level Domain or TLD (.com)

The TLD is the last part of the domain — .com, .net, .org, .io, .blog, and so on. For a blog, .com is still the gold standard. It’s the most recognizable, the most trusted, and the one readers assume by default. Other TLDs can work (.io is popular for tech, .blog is self-explanatory), but I’d always register the .com version of your name if it’s available.

5. Path (/blog/what-is-a-url/)

The path is what comes after the domain — the specific page your reader is asking to see. In WordPress, this is called the permalink. The path is the single most important SEO lever in the whole URL, because it’s where your target keyword lives. More on how to write a good one below.

6. Query Parameters (?ref=google) and Fragments (#top)

The optional extras. Query parameters start with a ? and are typically used for tracking (?utm_source=email), search results, or filter state. Fragments start with a # and jump to a specific section on the page.

Neither is visible to SEO in the same way the path is. Google mostly ignores query parameters for ranking (unless they change the actual content), and fragments are purely client-side navigation.

URL vs URI vs URN: A Quick Clarifier

I get asked this one a lot, so let me settle it in thirty seconds.

  • URI (Uniform Resource Identifier) — the general umbrella term for any string that identifies a web resource.
  • URL (Uniform Resource Locator) — a URI that also tells you where the resource is and how to get it. Every URL is a URI, but not every URI is a URL.
  • URN (Uniform Resource Name) — a URI that names the resource without saying where it is (think ISBN numbers). Rare in everyday web work.

For 99% of blogging situations, you’ll only ever deal with URLs. Don’t lose sleep over the distinction.

Absolute vs Relative URLs

One more quick technical distinction that shows up a lot when you’re adding internal links to blog posts.

An absolute URL includes the full address, including the protocol and domain: https://www.ryrob.com/what-is-a-url/. A relative URL skips the protocol and domain, using just the path: /what-is-a-url/.

Both work. Absolute URLs are slightly safer for SEO because they’re explicit about where the link points, which is useful when your content is syndicated, scraped, or copied. My preference is to always use absolute URLs for internal links on my blog. That way, if anyone ever copies one of my posts (which happens), my internal links still point back to me.

Best Practices for SEO-Friendly URLs

Now for the part most bloggers actually care about. An SEO-friendly URL gives Google a clear, clean signal about what the page is about. Follow these rules and your URLs will pull their weight in the rankings.

1. Put Your Target Keyword in the URL

This is rule number one. If you want a post to rank for “what is a URL,” the URL should include what-is-a-url. That’s exactly why this post sits at /what-is-a-url/.

If you’re not sure which keyword to target, pause and do proper keyword research before you publish. Changing a URL after the fact is doable (with a 301 redirect) but it’s much cleaner to get it right the first time.

2. Keep It Short and Descriptive

Aim for 3–5 words in the path. Long URLs look spammy, get truncated in search results, and are harder for readers to remember or share. Short URLs are cleaner signals for both Google and humans.

3. Use Hyphens, Not Underscores

Google treats hyphens (-) as word separators and underscores (_) as connectors. So /what-is-a-url/ reads as three separate words to Google, while /what_is_a_url/ reads as one giant word. Always hyphens.

4. Stick to Lowercase

URLs are case-sensitive on some servers. /What-Is-A-URL/ and /what-is-a-url/ could be served as two different pages, which creates duplicate content issues. Use all lowercase, always.

5. Skip Dates

Don’t include the year in your URL (/2024/what-is-a-url/). The moment you refresh the post the next year, the URL looks stale. WordPress defaults to date-based permalinks out of the box, which is the single most common URL mistake I see from new bloggers. Switch to “Post name” in WordPress settings and don’t look back.

6. Use HTTPS (Not HTTP)

Every blog needs to be on HTTPS in 2026. Google treats it as a ranking signal, browsers mark HTTP sites as insecure, and most hosts (including all of the ones I recommend) set up free SSL certificates in one click.

7. Drop the Stop Words (Sometimes)

Words like the, a, of, and, and for don’t add SEO value. Dropping them shortens the URL and sharpens the keyword signal. /how-start-blog/ is shorter and cleaner than /how-to-start-a-blog/, and both rank for the same search term.

That said, don’t chop so aggressively that the URL stops making sense. /start-blog/ is too thin. Readable shorthand, yes; broken English, no.

How to Set Up SEO-Friendly URLs in WordPress

If you’re running WordPress — which I recommend to pretty much every blogger — you have full control over your URL structure. The default isn’t ideal, so this is one of the very first things I change on any new install.

In your WordPress dashboard, go to Settings → Permalinks and select “Post name” as the default structure:

How to set up SEO-friendly permalink structure for a WordPress blog

This gives you URLs that look like yourblog.com/your-post-title/, which is exactly what Google wants to see.

For every new post you publish, WordPress will auto-generate a URL from the post title. But the auto-generated version is almost never perfect. If your title is “15 Ways to Start a Blog in 2026 (for Beginners),” WordPress will spit out /15-ways-to-start-a-blog-in-2026-for-beginners/. Way too long.

Always click “Edit” next to the auto-generated URL in the Gutenberg editor and shorten it manually to something tight like /start-a-blog/ or /how-start-blog/. This takes 10 seconds and pays back for the life of the post.

If you want a head start on writing a good permalink, I built a free permalink generator tool inside RightBlogger that gives you SEO-friendly URL slug suggestions based on your post title or target keyword. It’s part of the 80+ AI tools I’ve built for bloggers who want to move faster.

Real Examples: Good vs Bad URLs

Theory is useful. Examples are better. Here are real URL patterns from my own blog and around the web that follow (or break) the rules above.

Good URLs (SEO-friendly)

  • Target: how to start a blogURL: ryrob.com/how-start-blog/
  • Target: how to make money bloggingURL: ryrob.com/make-money-blogging/
  • Target: how to pick a blog nicheURL: ryrob.com/blog-niche/
  • Target: best web hosting plansURL: ryrob.com/best-web-hosting-plans/
  • Target: what is a 301 redirectURL: ryrob.com/what-is-301-redirect/

See the pattern? Short, lowercase, hyphenated, keyword-forward, no dates, no stop words.

Bad URLs (fix these)

  • yourblog.com/2024/03/15/how-to-start-a-blog-in-2024-for-beginners/ — date in path, too long, year will rot
  • yourblog.com/?p=123 — default WordPress ugly permalink, no keyword signal at all
  • yourblog.com/How_To_Start_A_Blog/ — underscores instead of hyphens, mixed case
  • yourblog.com/blog/category/uncategorized/how-to-start-a-blog/ — unnecessarily deep, cluttered path
  • yourblog.com/the-ultimate-complete-step-by-step-guide-to-starting-a-profitable-blog-in-2024/ — keyword stuffed, way too long

Common URL Mistakes to Avoid

  1. Leaving the date in your permalink structure. If you keep WordPress’s default, every URL includes the publish year and month — which makes every post look stale the moment a year passes. Switch to Post name.
  2. Changing a URL after it’s ranking. If a post is already pulling in Google traffic, changing its URL without a 301 redirect will nuke those rankings overnight. If you must change it, use a 301 redirect from the old URL to the new one.
  3. Stuffing keywords. Repeating your target keyword three times in the URL doesn’t help you rank higher. /blog-best-blog-tips-for-bloggers/ just reads as spam.
  4. Using special characters. Apostrophes, ampersands, and other special characters get URL-encoded into ugly strings like %27 and %26. Stick to letters, numbers, and hyphens.
  5. Forgetting to check the URL before publishing. WordPress auto-generates a slug from your title, and it’s rarely what you’d want. Always click Edit and clean it up before hitting Publish.
  6. Inconsistent www / non-www. Pick one version (www.yourblog.com or yourblog.com) and 301 the other to it. Google can get confused if both resolve independently.

Frequently Asked Questions About URLs

Can I change a URL after I publish a post?

Yes, but you have to handle it carefully. Changing a URL without a 301 redirect will break every backlink pointing to the old URL and kill the rankings the old URL had. Set up a 301 redirect from the old URL to the new one as part of the change, and you’ll keep 90–99% of the SEO value.

Should I include the publish year in my URL?

No. Year-dated URLs (/2024/my-post/) look stale the moment the year changes. Use a clean post-name permalink structure and put any year modifiers in the title instead, where they’re easy to update.

Do underscores or hyphens matter for SEO?

Yes. Google treats hyphens as word separators and underscores as connectors. /what-is-a-url/ reads as four words; /what_is_a_url/ reads as one unrecognizable word. Always use hyphens.

What happens if my URL is too long?

Search engines truncate long URLs in results, which hurts your click-through rate. Readers are less likely to share a long URL, and the keyword signal gets diluted when it’s buried in filler words. Aim for 3–5 meaningful words in the path.

Can I use numbers in my URL?

Yes, numbers are fine. /12-blog-ideas/ is perfectly SEO-friendly. Just avoid numbers that will date the post, like a year (/2024-blog-ideas/).

Is “www.” part of my URL?

Technically yes, www is a subdomain and part of the full URL. But most blogs work fine with or without it, because your host will typically set up both to resolve to the same place. The important thing is to pick one canonical version (either www.yourblog.com or yourblog.com) and make sure the other 301 redirects to it.

Should I search Google or just type the URL?

Both have a place. Searching is best for discovery — when you don’t know the exact URL, you’re comparing options, or you’re researching a topic. Typing the URL directly (or using a saved bookmark) is faster and safer for sites you visit often, especially for logins, banking, or anywhere you enter sensitive info — because it sidesteps the risk of clicking a fake “Sponsored” ad result or a typosquatted lookalike domain. I broke this down in more detail (with a 2026 safety checklist and the most common typosquatting patterns to watch for) over on the RightBlogger blog: Search Google or Type a URL: When to Use Each.

Final Thoughts on URLs

URLs are one of those unsexy blogging details that separates casual hobbyists from bloggers who actually rank. Getting URLs right costs you nothing — no extra software, no extra budget, just 10 seconds of attention before every publish. And the payoff compounds for the life of every post.

To recap the rules I use on every post: lowercase, hyphens, short, keyword-forward, no dates, HTTPS, and always clean up the auto-generated WordPress slug before publishing. Follow that checklist and your URLs will pull their weight in Google.

If you’re just getting started and haven’t set up your permalink structure yet, check out my complete guide on how to start a blog — I walk through the full WordPress setup including permalinks. And if you ever need to change a URL after it’s been live and earning traffic, my guide to 301 redirects will keep your SEO intact through the move.

Hi I'm Ryan Robinson

Creator. Founder. Author. I got my start as a blogger, I'm an occasional podcaster and very-much-recovering side project addict. Co-Founder at RightBlogger. Join me here, on ryrob.com to learn how to start a blog and build a purpose-connected business. Be sure to take my free blogging tools for a spin... especially my wildly popular free keyword research tool & AI article writer. They rule. Somehow, I also find time to write for publications like Fast Company, Forbes, Entrepreneur, The Next Web, Business Insider, and more. Let’s chat on LinkedIn and YouTube about marketing, business, and the beauty of it all.

Jump into the conversation

Leave a Reply:

10 replies to “What is a URL? Website URLs Explained + SEO-Friendly URL Best Practices (2026)”

  1. Question for you on promoting your URL. Do you recommend creating a Facebook page for your blog? I’m considering it because that’s the only way I can boost my blog post via Facebook. If you do recommend, can you talk about promotion strategies (i.e. do you post your blog posts on your page, then share it to your profile page? How do you suggest gaining traction for a Facebook page, etc.) Or do you just say bag Facebook altogether? Thanks!

    Reply
    • Great question, Liz. If you want to create a Facebook page for your blog, with the goal of boosting posts (and driving in some traffic), then I’d say yes that’s a good experiment to at least try out and see if it works well for your audience/type of content and the niche you’re blogging in. Personally though, I haven’t found Facebook to be a great investment (time or financial) for my own blog… having a Facebook Group would be the only exception that I have felt is very worthwhile.

      Otherwise, I’d highly recommend reading through these two guides on my blog here that talk specifically about the best ways to promote your blog:

      https://www.ryrob.com/drive-traffic-website/
      https://www.ryrob.com/how-grow-blog/

      Reply
  2. Hi I’m Jonathan Rocha I’m looking at this and it looks hard and it makes me nueves when you don’t have much of a clue. I want to tray this but don’t now if it’s posible for me to get going I have no commpiuter and no money. What do you recommend for me . I want to give this lessons a tray and become like you . Can you help me.

    Reply
    • Hey Jonathan! Thanks for taking the time to leave a comment here for me. To keep things as simple & easy as possible, I’d recommend that you head over to my step-by-step guide on starting a blog… that’ll point you in the right direction and get you started: https://www.ryrob.com/how-start-blog/

      It’s not as easy to start blogging without a computer, to be honest. I’m soon working on a tutorial about what’s possible to do from a blogging perspective using just a mobile phone and without spending any money. Stay tuned for that soon.

      Reply
  3. A great informative post about website URLs. Virtually all my blog posts are long URL, but now I know that it is better for the URL to be user-friendly and SEO-friendly; short, compact and concise.

    Besides, I have a question about internal links.
    For example, I write a long-form post A and I link to post B (relevant info) most than once, is there any negative effect of this in terms of SEO and alike? Or is it better to link from A to B only once?

    Reply
    • Of course! Glad to help, Tan 🙂

      It’s ok to link from post A to post B more than once, especially if it’s an important article you want to drive readers to. I wouldn’t do it more than say ~5 times throughout a long-form article though… you don’t want to make it appear like you’re trying overly hard to push a single link from every article.

      Reply
  4. Many years ago I took a class on how to bog, but never used it? Can I starting using it now, even though it’s about six years ago! I paid for the coarse and recently found the class information?

    Reply
    • Hey Mary, that’s a great question! It depends on who you purchased the course from (and if they regularly update the material). Course content that’s 6 years old might not be 100% relevant to how blogging works today, but a lot of the same principles of creating useful, impactful content for readers and working hard to promote that content still hold true. Check out my recommendations for blogging courses right here: https://www.ryrob.com/blogging-courses/

      Reply
  5. Hello Ryan,

    How to remove the date in the URL?

    It looks ugly and it is also not SEO friendly…

    Any tips?

    Reply

Get Access to All 45+ Free Marketing Tools Now

Portrait of Ryan Robinson

Sign up to unlock all my most powerful tools to do better research, generate great content and more.

"*" indicates required fields

This field is for validation purposes and should be left unchanged.
Enter your first name