diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 8ebb1da..6f3c4cb 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -80,7 +80,7 @@ const fullTitle = hasBrandSuffix ? trimmed : `${trimmed} | ${BRAND}`; // Organization JSON-LD (rendered on every page so Google can verify the // publisher of the site). LocalBusiness subtype for Maps/3-pack SEO. -const siteUrl = 'https://dealplustech.com'; +const siteUrl = 'https://dealplustech.co.th'; const organizationSchema = { '@context': 'https://schema.org', '@type': 'LocalBusiness', diff --git a/src/pages/sitemap.xml.ts b/src/pages/sitemap.xml.ts index b751929..b87769b 100644 --- a/src/pages/sitemap.xml.ts +++ b/src/pages/sitemap.xml.ts @@ -11,7 +11,7 @@ import type { APIRoute } from 'astro'; import { getCollection } from 'astro:content'; -const SITE = 'https://dealplustech.com'; +const SITE = 'https://dealplustech.co.th'; // --------------------------------------------------------------------------- // URL classification diff --git a/src/pages/terms-and-conditions.astro b/src/pages/terms-and-conditions.astro index a4c2c83..e01a8e2 100644 --- a/src/pages/terms-and-conditions.astro +++ b/src/pages/terms-and-conditions.astro @@ -5,13 +5,13 @@ import { marked } from 'marked'; const termsContent = `# ข้อกำหนดการใช้งาน **ชื่อเว็บไซต์:** ดีล พลัส เทค -**เว็บไซต์:** https://dealplustech.com +**เว็บไซต์:** https://dealplustech.co.th **มีผลบังคับใช้วันที่:** 6 พฤษภาคม 2569 **แก้ไขล่าสุด:** 6 พฤษภาคม 2569 ## 1. การยอมรับเงื่อนไข -ด้วยการเข้าถึงและใช้งานเว็บไซต์ https://dealplustech.com ("เว็บไซต์") ของบริษัท ดีล พลัส เทค จำกัด ("บริษัท") ท่านยอมรับและตกลงที่จะถูกผูกมัดด้วยข้อกำหนดการใช้งานฉบับนี้ +ด้วยการเข้าถึงและใช้งานเว็บไซต์ https://dealplustech.co.th ("เว็บไซต์") ของบริษัท ดีล พลัส เทค จำกัด ("บริษัท") ท่านยอมรับและตกลงที่จะถูกผูกมัดด้วยข้อกำหนดการใช้งานฉบับนี้ ## 2. บริการของเรา diff --git a/src/pages/บทความ/[slug].astro b/src/pages/บทความ/[slug].astro index 1763aed..e3d5040 100644 --- a/src/pages/บทความ/[slug].astro +++ b/src/pages/บทความ/[slug].astro @@ -29,7 +29,7 @@ const tag = article.data.tags?.[0] ?? ''; // BlogPosting JSON-LD — provides rich result eligibility in Google // (article cards, author attribution, publish date). -const articleUrl = `https://dealplustech.com/${encodeURI('บทความ')}/${article.id}`; +const articleUrl = `https://dealplustech.co.th/${encodeURI('บทความ')}/${article.id}`; const blogPostingSchema = { '@context': 'https://schema.org', '@type': 'BlogPosting', @@ -39,21 +39,21 @@ const blogPostingSchema = { ...(article.data.featured_image && { image: /^https?:\/\//.test(article.data.featured_image) ? article.data.featured_image - : `https://dealplustech.com${article.data.featured_image}`, + : `https://dealplustech.co.th${article.data.featured_image}`, }), datePublished: article.data.published_at.toISOString(), dateModified: (article.data.updated_at ?? article.data.published_at).toISOString(), author: { '@type': 'Organization', name: article.data.author || 'ดีล พลัส เทค', - url: 'https://dealplustech.com', + url: 'https://dealplustech.co.th', }, publisher: { '@type': 'Organization', name: 'ดีล พลัส เทค', logo: { '@type': 'ImageObject', - url: 'https://dealplustech.com/images/logo/dealplustech-logo.png', + url: 'https://dealplustech.co.th/images/logo/dealplustech-logo.png', }, }, mainEntityOfPage: { @@ -149,11 +149,11 @@ const faqSchema = faqPairs.length >= 2 ? {
แชร์บทความ: - + Line - + Facebook