Tilbage til Schema
📄

WebPage Schema

Definer metadata for individuelle web pages og supplerer mere specifikke schema types

Hvad er WebPage Schema?

WebPage schema bruges til at definere metadata for individuelle sider på dit website. Det bruges ofte sammen med mere specifikke types som Article, Product, eller FAQPage for at give ekstra kontekst om selve siden.

Anvendelsesområder:

  • • Generelle web pages uden specifik type
  • • Supplerende metadata til Article/Product
  • • lastReviewed og specialty information
  • • Breadcrumb og navigation context
  • • Primary image og description

WebPage Types

WebPage

Generel web page

AboutPage

"Om os" side

ContactPage

Kontakt side

FAQPage

FAQ side

ProfilePage

Profil side

CheckoutPage

Checkout side

Basic Example

Simpel WebPage Schema

{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "@id": "https://example.com/page#webpage",
  "url": "https://example.com/page",
  "name": "Side Titel",
  "description": "Beskrivelse af siden",
  "inLanguage": "da-DK",
  "isPartOf": {
    "@type": "WebSite",
    "@id": "https://example.com/#website",
    "name": "Example Site"
  },
  "datePublished": "2024-01-15T08:00:00+00:00",
  "dateModified": "2024-02-20T10:30:00+00:00",
  "primaryImageOfPage": {
    "@type": "ImageObject",
    "url": "https://example.com/page-image.jpg"
  }
}

AboutPage Example

{
  "@context": "https://schema.org",
  "@type": "AboutPage",
  "url": "https://example.com/om",
  "name": "Om Example Company",
  "description": "Læs om vores virksomhed og mission",
  "mainEntity": {
    "@type": "Organization",
    "@id": "https://example.com/#organization"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Hjem",
        "item": "https://example.com"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Om",
        "item": "https://example.com/om"
      }
    ]
  }
}

ContactPage Example

{
  "@context": "https://schema.org",
  "@type": "ContactPage",
  "url": "https://example.com/kontakt",
  "name": "Kontakt Os",
  "description": "Kontakt Example Company",
  "mainEntity": {
    "@type": "Organization",
    "name": "Example Company",
    "contactPoint": {
      "@type": "ContactPoint",
      "telephone": "+45-12345678",
      "contactType": "customer service",
      "email": "info@example.com",
      "availableLanguage": ["Danish", "English"]
    }
  }
}

With Breadcrumbs

Kombiner WebPage med BreadcrumbList:

{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "url": "https://example.com/products/sko/running",
  "name": "Running Sko",
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Hjem",
        "item": "https://example.com"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Produkter",
        "item": "https://example.com/products"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Sko",
        "item": "https://example.com/products/sko"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Running Sko"
      }
    ]
  }
}

Specialty Pages

Brug specialty property for medicinske/professionelle sider:

{
  "@type": "WebPage",
  "url": "https://medical-site.com/diabetes",
  "name": "Diabetes Information",
  "specialty": {
    "@type": "Specialty",
    "name": "Endocrinology"
  },
  "lastReviewed": "2024-01-15",
  "reviewedBy": {
    "@type": "Person",
    "name": "Dr. Anders Nielsen",
    "jobTitle": "Endocrinologist"
  }
}

Best Practices

✓ Gør dette

  • • Brug mest specifik WebPage type
  • • Link til parent WebSite med isPartOf
  • • Inkluder datePublished og dateModified
  • • Tilføj breadcrumb navigation
  • • Specificer primaryImageOfPage
  • • Brug unique @id for hver side

✗ Undgå dette

  • • Generisk WebPage når specifik type findes
  • • Manglende URL property
  • • Duplicate @id på forskellige sider
  • • Outdated dateModified
  • • Manglende isPartOf link
  • • Irrelevant primaryImageOfPage