Skip to content
3.11Beginner9 min

URL Structure and Technical On-Page Elements

Lucas Blochberger··Updated 11 June 2026
Definition

URL best practices: Under 60 characters (CTR drops 15% above), 1-2 folder depths, hyphens as separator. Self-referencing canonical tags on every page are best practice. For DACH: Hreflang with de-DE, de-AT, de-CH and x-default — over 65 percent of international sites have significant hreflang errors.

Key Takeaways

  • Google explicitly recommends hyphens instead of underscores and readable words instead of ID numbers in URLs; in DACH B2B, umlauts should be transcribed (ä to ae, ö to oe, ü to ue, ß to ss).
  • Short URLs correlate with better rankings: Top-10 URLs average 66 characters in length, position-1 URLs are 9.2 characters shorter than position 10 (international Backlinko study).
  • Self-referencing canonical tags on every indexable page are best practice; adoption in 2025 was 68% desktop / 67% mobile.
  • Hreflang for DACH requires de-AT, de-DE, de-CH plus x-default with bidirectional return references; Google does not use the HTML lang attribute for language determination, Bing relies on content-language instead of hreflang.
  • An invalid element in the <head> (often <img>) causes Google to assume the <head> has ended and ignore subsequent canonical, hreflang, and title tags; in 2024 this affected 10.6% of desktop pages.
  • Google rewrites 33.4% of title tags, rising to 46.12% for titles over 600px; when the title is ignored, Google uses the H1 as a replacement in 50.76% of cases, making short titles and a strong H1 critical.
  • JSON-LD is the recommended schema format (41% adoption in 2024); for AI search, citations (~+41%), statistics (~+32%), and source attributions (~+30%) increase visibility in generative search engines.

Why URL structure and technical on-page elements determine visibility

The URL is the first technical signal that search engines and users see from a page. It appears in search results, is copied, linked, and cited in AI answers. Yet many B2B companies in the DACH region treat URLs as an afterthought that the CMS generates automatically. This is risky, because poorly structured URLs create duplicate content, waste crawl budget, and weaken the thematic clarity of a page.

Competition is tougher than it seems. According to an international Ahrefs analysis of approximately 14 billion pages, 96.55 percent of all pages receive zero organic traffic from Google. Anyone wanting to become visible in this environment cannot afford avoidable technical errors. In Austria, the situation is compounded by Google's dominance with 81.87 percent market share, followed by Bing with 9.01 percent (as of May 2026). Technical on-page fundamentals must therefore work primarily for Google, without neglecting Bing, which handles language signals differently.

URL structure and technical on-page elements together form the foundation on which content quality can take effect. A page with strong content but a faulty canonical tag or broken hreflang wastes ranking potential that cannot be recovered through better text.

How to build an SEO-friendly URL structure

A good URL describes the page content before anyone opens the page. Google explicitly recommends using readable words instead of long ID numbers and employing hyphens instead of underscores as word separators. The reason is semantic: hyphens help users and search engines recognize individual terms in the URL, while underscores glue words together.

For practical implementation in the DACH context, the following guidelines apply:

  • Consistent lowercase: URLs should contain only lowercase letters, as servers can treat paths as case-sensitive and mixed case can otherwise lead to duplicate URLs.
  • Hyphens as separators: seo-consulting-vienna instead of seo_consulting_vienna or SeoConsultingVienna. This is Google's explicit recommendation.
  • Descriptive slugs: The slug should contain the primary keyword and describe the content. /services/technical-seo-audit is better than /page?id=4827.
  • Umlauts and special characters: Umlauts (ä, ö, ü) and ß work technically via UTF-8 encoding (Punycode or percent-encoding), but complicate copying, linking, and readability. In B2B contexts, transcription has proven effective: ä becomes ae, ö becomes oe, ü becomes ue, ß becomes ss. Thus prüfung becomes pruefung. This keeps URLs clean and error-free everywhere.

Regarding length: shorter tends to rank better. An international Backlinko study of 11.8 million search results found that the average URL length in the top 10 is 66 characters and URLs in position 1 are on average 9.2 characters shorter than those in position 10. This doesn't prove causation, but shows a clear correlation: concise, focused URLs rank better on average. Keep URLs as short as possible without sacrificing meaning.

Important context: keywords in the URL are a weak signal. They improve readability and click-through rate, but don't replace content relevance. Treat them as a useful detail, not a central ranking lever.

Keeping directory depth and parameters clean

Flat hierarchies help crawlers and users understand page structure. A logical path structure like /services/seo/ or /knowledge/on-page/ with one to two directory levels is sufficient for most B2B sites. Each additional level complicates navigation and signals greater distance from the domain's starting point.

The greater technical risk lies with URL parameters. Google explicitly warns that overly complex URLs with multiple parameters can cause Googlebot to consume significantly more bandwidth than necessary or prevent Google from fully indexing the content. Parameters often arise from filters, sorting, session IDs, or tracking. They generate many URLs pointing to identical or similar content.

Practical measures against parameter proliferation:

  • Remove session IDs from URLs: Session information belongs in cookies, not in the URL.
  • Control filter combinations: Manage faceted navigation via canonical tags, robots directives, or targeted indexing rules to prevent every filter combination from becoming a separate indexable URL.
  • Canonicalize tracking parameters: Have UTM parameters and similar marketing markers point via canonical to the clean base URL.

Using canonical tags correctly

The canonical tag (rel="canonical") tells search engines which URL is the authoritative version of content. Best practice is a self-referencing canonical on every indexable page: the page references its own preferred URL in the <head>. This prevents parameter variants, protocol differences (HTTP/HTTPS), or www variants from being treated as separate duplicate content.

Adoption is rising continuously. According to the international Web Almanac, in 2024 69 percent of desktop pages and 65 percent of mobile pages used canonical tags, rising further in 2025 to 68 percent (desktop) and 67 percent (mobile). The canonical tag is thus an established part of the technical standard.

Common error sources that render the tag ineffective or counterproductive:

  • Canonical and hreflang in conflict: A canonical pointing from the Austrian page (de-AT) to the German page (de-DE) undermines the hreflang logic. Each language version should self-reference itself canonically.
  • Canonical outside a valid <head>: If the tag is in the <body> or after an invalid element in the <head>, Google ignores it. More on this in the section on valid <head>.
  • Chained canonicals: Page A points to B, B points to C. Such chains dilute the signal and should be resolved to a direct reference.

Correctly implementing hreflang for the DACH region

The DACH region is the textbook case for hreflang. German is spoken in Austria, Germany, and Switzerland, yet prices, legal frameworks, tone, and sometimes terminology differ. Hreflang ensures that Google serves Austrian users the de-AT version and not the de-DE version. Use the language-region combinations de-AT, de-DE, and de-CH, plus an x-default for users without a matching assignment.

Two mechanisms are critical:

  • Bidirectional return references: If the de-AT page references the de-DE page, the de-DE page must reference back to de-AT. Missing return references are the most common hreflang error and cause Google to ignore the markup.
  • x-default as fallback: This markup catches all language-region combinations not explicitly covered.

Hreflang can be implemented via three methods: via link tag in the <head>, via XML sitemap, or via HTTP header (for non-HTML files like PDFs). The methods must not be mixed for the same URL group, as conflicting information will result.

Two specifics are central for DACH projects. First, Google does not use the HTML lang attribute for language determination, but evaluates the content itself. The lang attribute remains relevant for accessibility and other systems, but does not replace hreflang. Second, Bing relies primarily on the content-language attribute rather than hreflang. Since Bing holds 9.01 percent market share in Austria, it's worthwhile to maintain both signals consistently. For Switzerland, note that multiple national languages exist: complete Swiss coverage may require de-CH, fr-CH, and it-CH.

Title tags, meta descriptions, and heading hierarchy

The title tag remains one of the strongest on-page signals and the most important click lever in search results. However, Google frequently rewrites titles. An international Ahrefs study of 953,276 pages shows that Google rewrites title tags in 33.4 percent of cases. Long titles are particularly affected: for titles over 600 pixels wide, the rewrite rate increases from 29.45 percent to 46.12 percent. Therefore stay under approximately 600 pixels, place the primary keyword as far forward as possible, and write precisely so Google adopts the title instead of replacing it.

The meta description does not directly influence ranking, but affects click-through rate in search results. According to Web Almanac, in 2025 a meta description was present on 67.7 percent of desktop pages and 67.2 percent of mobile pages. Write it as a concise sales argument for the click, with keyword and clear value proposition.

For heading hierarchy, semantic cleanliness applies: exactly one H1 per page, with logically nested H2 through H6 below without skipped levels. The H1 is more than a heading, as it serves Google as a title fallback. When Google ignores the title tag, according to the Ahrefs study it uses the H1 as a replacement in 50.76 percent of cases. A well-crafted H1 is therefore insurance against unwanted SERP titles.

Schema markup and valid technical indexing control

Structured data makes content machine-readable for search engines and enables rich results. For B2B pages, Organization, Article, FAQPage, BreadcrumbList, and Service are particularly relevant. The recommended format is JSON-LD, which according to Web Almanac 2024 was already present on 41 percent of pages, compared to 34 percent in 2022, while the older Microdata format stagnates at 26 percent. JSON-LD is growing fastest, is preferred by Google, and is the right choice for new projects because it is separate from visible HTML in the <head> or <body>.

Technical indexing control determines whether these signals arrive at all. The meta robots tag (index/noindex, follow/nofollow) controls indexing at the page level. Important is the distinction from robots.txt: robots.txt controls crawling, not indexing. A URL blocked by robots.txt can still land in the index if it's linked, just without content. To reliably keep a page out of the index, a noindex belongs in the meta robots tag, and the page must not simultaneously be blocked by robots.txt, otherwise Google will never see the noindex.

A valid <head> is critical. According to Web Almanac 2024, 10.6 percent of desktop pages and 10.9 percent of mobile pages had invalid HTML elements in the <head>. The most common triggering element was the <img> tag with 29 percent of affected cases on desktop and 22 percent on mobile. The mechanism is dangerous: as soon as Google detects an invalid element in the <head>, it assumes the <head> has ended and stops reading further elements. Everything that follows (canonical, hreflang, title) is ignored. Therefore place these critical tags early in the <head> and keep invalid elements out.

GEO and on-page optimization for AI search

Generative search engines and AI Overviews are changing how content becomes visible. Generative Engine Optimization (GEO) describes the optimization of content for citability in AI answers. A Princeton study (Aggarwal et al., KDD 2024) examined which on-page elements increase visibility in generative search engines. The most effective methods were incorporating citations with approximately 41 percent more visibility, statistics with about 32 percent, and source citations with around 30 percent, measured by position-weighted visibility (Position-Adjusted Word Count).

For on-page practice in DACH B2B, this means concretely:

  • Include statistics with sources: Concrete, documented figures increase the likelihood of being cited in AI answers.
  • Explicitly name sources: References to trustworthy sources strengthen citability.
  • Clearly name entities: Name companies, products, locations, and technical terms clearly and consistently so AI systems and the Knowledge Graph can correctly assign them. Consistent entity naming across title, H1, body text, and schema markup amplifies the signal.
  • Secure E-E-A-T on-page: Author information, update dates, and verifiable evidence signal Experience, Expertise, Authoritativeness, and Trustworthiness.

GEO does not replace classic on-page optimization, but extends it. Clean technical fundamentals remain a prerequisite, because what is not indexable will not be cited.

Image and media optimization as an on-page factor

Images are an underestimated on-page lever and simultaneously a technical error source. As shown above, the <img> element is the most common triggering element for invalid HTML in the <head>. Images therefore belong in the <body>, never in the <head>.

For optimization, the following points apply:

  • Descriptive alt texts: They describe the image content for screen readers and search engines and should naturally contain the relevant keyword, without keyword stuffing.
  • Descriptive file and URL names: technical-seo-audit-process.webp is better than IMG_4827.jpg. The same rules apply here as for URLs: lowercase, hyphens, no umlauts.
  • Structured data for images: Images marked up in appropriate schema types (such as Article or Product) improve the chance of rich results.
  • Consider Core Web Vitals: Image size, format (WebP/AVIF), and lazy loading affect load time and Largest Contentful Paint. Performance is a confirmed ranking factor and directly impacts on-page quality.

Measurement and continuous monitoring

Technical on-page elements are not a one-time project, but require ongoing monitoring. The most important checkpoints:

  • Indexing status: Check via Google Search Console which URLs are indexed and which have been excluded due to canonical or noindex signals.
  • Hreflang errors: International reports and crawlers uncover missing return references and incorrect language-region codes. Hreflang errors are common in multilingual projects and should be audited regularly.
  • Title rewrites: Monitor in Search Console and via SERP observation whether Google adopts your titles or rewrites them. A high rewrite rate is a signal to shorten or sharpen titles.
  • <head> validity: Use a crawler to check whether critical tags are within a valid <head> and not cut off by invalid elements.
  • Structured data: Validate via the Rich Results Test and Search Console whether JSON-LD is recognized without errors.

Those who regularly check these points keep the technical on-page foundation stable and create the prerequisite for content quality and GEO measures to take effect.

Further reading

URL structure and technical on-page elements interlock closely with other disciplines. Internal linking builds on a clean URL hierarchy, content structure depends on correct heading nesting, and GEO optimization requires error-free indexability. For implementation in the DACH B2B environment, the recommended sequence is: first secure the technical fundamentals (URLs, canonical, hreflang, valid <head>), then optimize title, meta, and heading hierarchy, then add schema markup and GEO elements.

Data & Statistics

96,55 Prozent aller Seiten erhalten null organischen Traffic von Google (n ≈ 14 Mrd. Seiten)

Ahrefs Blog – 96.55% of Content Gets No Traffic From Google (2023)

Suchmaschinen-Marktanteil Österreich: Google 81,87 %, Bing 9,01 % (Mai 2026)

Statcounter Global Stats – Search Engine Market Share Austria (2026)

Google empfiehlt Bindestriche statt Unterstriche als Worttrenner und lesbare Wörter statt langer ID-Nummern in URLs

Google Search Central – URL structure best practices for Google Search (2024)

Durchschnittliche URL-Länge in den Top 10 liegt bei 66 Zeichen; URLs auf Position 1 sind im Schnitt 9,2 Zeichen kürzer als auf Position 10 (n=11,8 Mio. Suchergebnisse)

Backlinko – We Analyzed 11.8 Million Google Search Results (2020)

Übermäßig komplexe URLs mit mehreren Parametern können dazu führen, dass Googlebot mehr Bandbreite verbraucht oder Google Inhalte nicht vollständig indexieren kann

Google Search Central – URL structure best practices for Google Search (2024)

Canonical-Tag-Verbreitung 2024: 69 % Desktop / 65 % Mobile

HTTP Archive – Web Almanac 2024, SEO chapter (2024)

Canonical-Tag-Verbreitung 2025: 68 % Desktop / 67 % Mobile; Meta Description auf 67,7 % Desktop / 67,2 % Mobile vorhanden

HTTP Archive – Web Almanac 2025, SEO chapter (2025)

Google schreibt Title-Tags in 33,4 % der Fälle um; bei Titeln über 600px steigt die Rewrite-Rate von 29,45 % auf 46,12 %; H1 wird in 50,76 % als Title-Ersatz genutzt (n=953.276)

Ahrefs – 6 Important Insights About Title Tags (2021)

JSON-LD auf 41 % der Seiten (2022: 34 %), Microdata bei 26 %; JSON-LD wächst am schnellsten und wird für neue Projekte empfohlen

HTTP Archive – Web Almanac 2024, Structured Data chapter (2024)

GEO On-Page: Zitate ~+41 %, Statistiken ~+32 %, Quellenzitate ~+30 % an Sichtbarkeit (Position-Adjusted Word Count) in generativen Suchmaschinen

Aggarwal et al. – GEO: Generative Engine Optimization (Princeton; KDD '24) (2024)

Ungültiges HTML im <head>: 10,6 % Desktop / 10,9 % Mobile (2024); häufigstes auslösendes Element <img> mit 29 % Desktop / 22 % Mobile

HTTP Archive – Web Almanac 2024, SEO chapter (2024)

FAQ

How long should a URL be for SEO?
As short as possible without losing meaning. An international Backlinko study of 11.8 million search results found an average URL length of 66 characters in the top 10, with URLs in position 1 averaging 9.2 characters shorter than those in position 10. While this doesn't prove causation, it shows a clear correlation: concise, focused URLs tend to rank better on average. Focus on a descriptive slug with the primary keyword and avoid unnecessary directory levels and parameters.
Hyphen or underscore in URLs?
Hyphen. Google explicitly recommends hyphens instead of underscores as word separators because hyphens help users and search engines recognize individual terms in the URL. Underscores, on the other hand, glue words together. Use seo-consulting-vienna instead of seo_consulting_vienna.
Should I use umlauts (ä, ö, ü) in URLs?
Technically, umlauts work via UTF-8 encoding, but in practice they complicate copying, linking, and readability. In B2B contexts, transcription has proven effective: ä becomes ae, ö becomes oe, ü becomes ue, and ß becomes ss. This keeps URLs clean and error-free across all platforms.
What is the difference between de-AT and de-DE in hreflang?
de-AT designates content for German-speaking users in Austria, de-DE for Germany, and de-CH for Switzerland. Via hreflang, Google serves Austrian users the de-AT version instead of the de-DE version. Bidirectional return references between all versions and an x-default as fallback are essential. Since Bing relies primarily on the content-language attribute rather than hreflang, both signals should be maintained consistently.
Why does Google ignore my canonical tag or hreflang?
The most common cause is an invalid element in the <head>. According to Web Almanac 2024, 10.6 percent of desktop pages had invalid HTML in the <head>, most frequently triggered by an <img> tag. As soon as Google detects an invalid element, it assumes the <head> has ended and stops reading further elements. Everything after that—canonical, hreflang, or title—is ignored. Place these critical tags early in the <head> and keep images and other invalid elements out.
Why does Google rewrite my title tag?
According to an Ahrefs study of 953,276 pages, Google rewrites 33.4 percent of title tags. For titles over 600 pixels wide, the rewrite rate increases from 29.45 to 46.12 percent. Keep titles under approximately 600 pixels, place the keyword early, and write precisely. If Google ignores the title anyway, it uses the H1 as a replacement in 50.76 percent of cases, which is why a well-crafted H1 is also important.
Which schema markup format should I use for a B2B website?
JSON-LD. It is preferred by Google, growing fastest, and according to Web Almanac 2024 was present on 41 percent of pages, compared to 34 percent in 2022, while the older Microdata format stagnates at 26 percent. For B2B, the most relevant types are Organization, Article, FAQPage, BreadcrumbList, and Service. JSON-LD is separate from visible HTML and can therefore be maintained cleanly.
How do I optimize on-page content for AI search and AI Overviews?
Incorporate citable elements. A Princeton study (KDD 2024) shows that citations increase visibility in generative search engines by approximately 41 percent, statistics by about 32 percent, and source citations by around 30 percent, measured by Position-Adjusted Word Count. Include concrete, documented figures with sources, name entities such as companies, products, and technical terms clearly and consistently across title, H1, body text, and schema, and secure E-E-A-T with author information and update dates.

Related Articles

How does your website perform?

Get a free, AI-powered SEO report of your website by email – technical SEO, on-page, keywords & competitors. No obligation.

Get a free SEO audit