Key facts

  • Google treats hyphens as word separators while underscores connect words together per Shortlist.io's SEO guidance
  • Most SEO-friendly URLs contain no more than 8-9 words according to Shortlist.io research
  • URLs should stay under 140 characters total to avoid truncation in search results per Seobility's technical SEO wiki
  • Function words like 'a', 'of', and 'the' add no value in 99% of cases according to Yoast's SEO specialists
  • Keywords in URLs appear in bold in Google SERPs, which can increase click-through rate per Seobility's analysis
  • Best practice is limiting URL directory depth to just 1-2 levels according to Seobility's documentation
  • Parts of the URL can be displayed in search results as breadcrumbs according to Google's Search Central guidelines

WANT RESULTS LIKE THIS?

Imagine a system doing all of this for your local business — every day, without you.

We build local businesses a custom website with a team of AI behind it: every lead captured and followed up, new content published monthly,customers finding you on Google — live in 7 days.

  • 85+ pages at launch
  • Every lead followed up, automatically
  • Your whole business on one screen

Why URL Structure Matters for Search and Users

Clear, descriptive URLs do more than point to a page—they help users and search engines understand what’s inside before a click. When a URL uses real words that describe the content, visitors can quickly tell if the result matches their intent, which builds trust and reduces bounce. Google also leans on these words to shape how your page appears in search results, turning the URL itself into a quiet ranking signal.

According to Google’s Search Central guidelines, parts of the URL can be displayed in search results as breadcrumbs, giving users a clear path to understand where they are on your site. This not only aids navigation but also reinforces the hierarchy of your content in a way that’s instantly readable. At the same time, Seobility.net notes that keywords in URLs are displayed in bold in Google SERPs, which can increase click-through rate by drawing the eye to relevant terms.

Shorter, focused URLs perform better across the board. Research shows that most SEO-friendly URLs contain no more than 8-9 words, and keeping the total length under 140 characters ensures they display fully in search results without being cut off. Removing unnecessary function words like 'a', 'of', or 'the'—which add no value in 99% of cases—helps achieve this brevity while making the URL more scannable for both users and crawlers.

  • Use hyphens to separate words—never spaces, underscores, or other characters—as Google treats hyphens as word dividers
  • Place primary keywords near the beginning of the URL slug when possible to signal relevance
  • Limit directory depth to 1–2 levels to maintain crawl efficiency and ensure each section is independently accessible
  • Implement canonical tags to prevent duplicate content issues when multiple URLs point to the same page

These practices aren’t just technical checks—they’re foundational to how AI Business Sites structures every page in the $1,497 custom AI website build and ongoing managed support. From service pages to blog posts, each URL is built to be readable, keyword-aware, and structurally sound so that both Google and your visitors can instantly grasp what the page offers. When your URLs work this hard, they do more than support SEO—they become part of the user experience.

Core Best Practices: Hyphens, Length, and Word Choice

A URL looks small, but it's one of the first things Google reads when deciding how to rank your page — and one of the first things a visitor reads when deciding whether to click. Get the formatting right, and the same content simply performs better.

The single most consistent rule across authoritative sources: separate words with hyphens. Yoast's SEO specialists are blunt about it: "Use hyphens to separate words in your slug. Don't use spaces, underscores or other characters of your choice to do this." The reason is technical. According to Shortlist.io's SEO guidance, Google treats hyphens as word separators while underscores connect words together — so hvac-repair-denver reads as three distinct words to Google, while hvac_repair_denver may read as one long string.

Length matters more than most site owners realize. Seobility's technical SEO wiki recommends a maximum of 140 characters total — including the domain, path, filename, and parameters. Beyond that, URLs get truncated in search results and become harder to recall.

Word count matters too. The same research finds that most SEO-friendly URLs contain no more than 8-9 words. Shorter slugs are more focused, and focus is exactly what search engines reward: Shortlist.io notes that Google uses the URL as a ranking factor, so a slug containing your primary keyword is more likely to rank well.

Not every word in your page title belongs in the URL. Yoast's guidance is that function words — "a", "of", "the" — add no value in 99% of cases and should be stripped out. "The Ultimate Guide to the Best HVAC Repair in Denver" becomes simply best-hvac-repair-denver. Same meaning, half the length, cleaner in search results.

The quick checklist for any URL slug:

  • Hyphens between words — never underscores or spaces
  • Under 140 characters total and no more than 8-9 words
  • Function words like "a", "of", and "the" removed
  • Primary keyword placed near the beginning of the slug

One more detail worth noting: keywords in URLs appear in bold in Google search results, which can lift click-through rate, per Seobility's analysis. That's free visibility from formatting alone.

These rules are exactly why URL structure is handled systematically in professional builds — at AI Business Sites, every page published through our content engine follows this hyphen-and-brevity convention automatically, so clients never have to think about slugs. "Always put your user first, and your user benefits from a clean and readable URL," as Yoast puts it — and clean URLs happen to be what Google rewards too.

Local business: doing this the old way?

One system replaces the whole pile.

Website designer$1,500 – $10,000
SEO agency$500 – $2,000/mo
Answering service$200 – $800/mo
Marketing tools & CRM$200 – $800/mo
Your eveningsGone

All of it — the website, the follow-up, the content, the leads — built and run for you for $1,497 + $497/mo. Month-to-month, and you own everything.

See what your build includes

Directory Structure and Canonicalization for Site Health

A URL isn't just an address — it's a map of your site that search engines follow. Get the directory structure wrong, and even great content can get buried under layers of unnecessary folders.

Google's own guidance recommends grouping topically similar pages into directories because it helps the search engine learn crawl frequency patterns and index your site more efficiently, according to the Google Search Central SEO starter guide. But depth matters as much as organization. While the technical maximum sits around five levels, Seobility's technical SEO documentation notes the current best practice is just 1–2 directory levels, since deeply nested pages tend to be deprioritized by search engines.

Structure alone isn't enough, though. Seobility also advises site owners to ensure every directory level is accessible independently — meaning a visitor landing on your /services/ folder page should find a real, useful page, not a dead end. This matters for both user experience and how search engines evaluate site clarity.

For larger sites, the stakes rise. A site with thousands of URLs can suffer inefficient crawling when organization is poor, which is why canonicalization becomes essential. When a CMS generates multiple URL variations pointing to the same content, canonical tags (rel=canonical) tell search engines which version to index, consolidating ranking signals and preventing wasted crawl budget — a strategy both Google and Yoast recommend.

To keep your directory structure healthy:

  • Limit folders to 1–2 levels deep for optimal crawl efficiency
  • Group topically related pages together so Google learns your site's patterns
  • Make every directory level a real, accessible page
  • Use rel=canonical tags wherever duplicate URL variations exist
  • Keep total URL length under 140 characters, including the domain and path

These practices scale with your site. A small business site that launches with 85+ pages — and adds fresh service pages and blog content every month — needs this structure built correctly from day one, not retrofitted later. That's exactly how AI Business Sites approaches its custom website builds: the directory hierarchy and canonical setup are handled during the initial build and maintained through ongoing managed support, so the structure stays healthy as the site grows.

Yoast frames the underlying principle well: always put your user first, because a clean, readable, logically organized URL benefits the person clicking it as much as the search engine crawling it.

Frequently Asked Questions

Why should I use hyphens instead of underscores in my URL?
Google treats hyphens as word separators, so 'hvac-repair-denver' is read as three distinct words, while underscores connect words and may be seen as one long string, which hurts SEO clarity. Yoast confirms this is the most consistent rule across authoritative sources.
How long should my URL be to avoid getting cut off in search results?
Keep your total URL length under 140 characters—including domain, path, and parameters—to ensure it displays fully in Google search results without being truncated. Seobility.net recommends this limit for optimal visibility and recall.
How many words should I include in my URL slug for best SEO performance?
Most SEO-friendly URLs contain no more than 8-9 words, as shorter, focused slugs are easier for users and search engines to process and are more likely to rank well. Shortlist.io notes this aligns with Google’s use of URL keywords as a ranking factor.
Should I remove words like 'a', 'of', or 'the' from my URL?
Yes—function words like 'a', 'of', and 'the' add no value in 99% of cases and should be stripped out to make URLs cleaner, shorter, and more scannable for both users and crawlers. Yoast advises this practice to improve focus and readability.
Do keywords in URLs actually help with click-through rates?
Yes—keywords in URLs are displayed in bold in Google search results, which draws the eye and can increase click-through rate by making the result appear more relevant to the user’s query. Seobility.net highlights this as a free visibility boost from proper formatting.
How deep should my website’s directory structure be for SEO and crawl efficiency?
Limit directory depth to 1–2 levels to maintain crawl efficiency and ensure each section is independently accessible—deeper nesting can cause search engines to deprioritize pages. Seobility.net notes this is the current best practice, even though the technical maximum is around five levels.

Small Details, Big Rankings: Why Your URLs Deserve Attention

Getting URLs right comes down to a handful of consistent rules: hyphens between words, under 140 characters and 8-9 words per slug, function words stripped out, primary keywords near the front, a shallow directory structure where every level is a real page, and canonical tags to prevent duplicates. None of it is complicated, but all of it compounds — keywords in URLs even appear in bold in Google search results, earning free visibility that lifts click-through before a visitor ever reaches your site. The catch is that URL discipline matters most at scale. A site launching with 85+ pages and adding fresh content monthly needs this structure right from day one, not retrofitted after indexing problems appear. If you'd rather not audit slugs and canonical tags yourself, that's exactly what AI Business Sites handles — every URL in our $1,497 custom builds and managed monthly support is written to these standards automatically. Want to see how it works for your business? Book a free strategy call at aibusinesssites.com/book-a-call — 30 minutes, no obligation, no sales pitch.

FOR local businesss — BUILT AND RUN BY US

Your website. Your content. Your leads. Your data.

$500 starts your build. Seven days later it's live — chat, booking, follow-up, and your Google presence all set up. Then we run it, every month. You do the work you actually get paid for.