Teknik ayarlar

Schema.org / Yapısal Veri Ayarla

Yapısal veri, arama motorlarının işletme tipinizi anlamasına yardımcı olur. Yalnızca sector.type değiştirirsiniz — JSON-LD site tarafından otomatik üretilir.

Nerede üretilir

OrganizationSchema.astro; site.ts, contact.ts, social.ts ve sector.ts dosyalarını okur; BaseLayout ile her sayfaya <script type="application/ld+json"> ekler.

Sektör tipini seçin

src/config/sector.ts dosyasını açın ve type alanını desteklenen değerlerden biri yapın:


                export const sector = {
  type: "dental",
  features: { /* … */ },
} as const;
              
  • dental, dental-tourism → Dentist
  • law → LegalService
  • beauty → BeautySalon
  • hotel → Hotel
  • agency → ProfessionalService
  • generic → LocalBusiness (varsayılan)

Neler dahil edilir

  • İşletme adı ve URL — site.ts
  • Telefon, e-posta, adres — contact.ts
  • Sosyal profil URL’leri — social.ts (dolu olanlar)

Doğrulama

Yayından sonra Google Rich Results Test veya sayfa kaynağında application/ld+json arayın.