diff --git a/src/content.config.ts b/src/content.config.ts new file mode 100644 index 0000000..b73333f --- /dev/null +++ b/src/content.config.ts @@ -0,0 +1,16 @@ +import { defineCollection, z } from 'astro:content'; + +const blog = defineCollection({ + type: 'content', + schema: z.object({ + title: z.string(), + description: z.string(), + pubDate: z.coerce.date(), + author: z.string(), + tags: z.array(z.string()), + }), +}); + +export const collections = { + blog, +}; diff --git a/src/content/blog/8-seo-factors.md b/src/content/blog/8-seo-factors.md new file mode 100644 index 0000000..c67840c --- /dev/null +++ b/src/content/blog/8-seo-factors.md @@ -0,0 +1,35 @@ +--- +title: '8 ปัจจัย SEO สำหรับ Google Ranking' +description: '8 ปัจจัยสำคัญที่ Google ใช้ในการจัดอันดับเว็บไซต์ คุณทำครบหรือยัง?' +pubDate: 2024-01-05 +author: 'MoreminiMore Team' +tags: ['SEO', 'Google', 'Ranking'] +--- + +## 8 ปัจจัย SEO สำคัญ + +### 1. Content Quality +เนื้อหาต้องมีคุณภาพสูง มีประโยชน์ และเกี่ยวข้องกับคำค้นหา + +### 2. Keywords +ใช้คำค้นหาที่เหมาะสมในตำแหน่งสำคัญ เช่น Title, H1, Meta Description + +### 3. Page Speed +ความเร็วในการโหลดหน้าเว็บ ส่งผลต่ออันดับและประสบการณ์ผู้ใช้ + +### 4. Mobile-Friendly +เว็บไซต์ต้องแสดงผลได้ดีบนมือถือ + +### 5. Backlinks +ลิงก์จากเว็บไซต์อื่นที่มีคุณภาพ ช่วยเพิ่มความน่าเชื่อถือ + +### 6. User Experience +ประสบการณ์การใช้งานที่ดี ลด Bounce Rate เพิ่ม Time on Site + +### 7. Technical SEO +โครงสร้างเว็บไซต์ที่ถูกต้อง Schema markup, SSL + +### 8. Local SEO +สำหรับธุรกิจท้องถิ่น Google My Business สำคัญมาก + +ทำครบทั้ง 8 ปัจจัย เว็บไซต์ของคุณจะติดอันดับ Google แน่นอน! diff --git a/src/content/blog/alt-text-seo.md b/src/content/blog/alt-text-seo.md new file mode 100644 index 0000000..aca87af --- /dev/null +++ b/src/content/blog/alt-text-seo.md @@ -0,0 +1,27 @@ +--- +title: 'ALT Text กับ SEO ปัจจัยที่ 3 ของ Google' +description: 'การเขียน ALT Text สำหรับรูปภาพ ช่วย SEO อย่างไร และทำไม Google ให้ความสำคัญ' +pubDate: 2024-01-10 +author: 'MoreminiMore Team' +tags: ['SEO', 'Images', 'Google'] +--- + +## ALT Text สำคัญอย่างไร? + +ALT Text (Alternative Text) คือข้อความที่ใช้อธิบายรูปภาพ ซึ่งมีความสำคัญต่อ SEO + +### ประโยชน์ของ ALT Text + +1. **ช่วย Google เข้าใจรูปภาพ** - Google ไม่สามารถเห็นรูปภาพได้ ต้องใช้ ALT Text ในการอธิบาย +2. **เพิ่มโอกาส出现在 Google Images** - รูปภาพมีโอกาส出现在การค้นหาภาพ +3. **ปรับปรุง Accessibility** - ช่วยผู้ที่ใช้ Screen Reader +4. **แสดงแทนเมื่อรูปภาพโหลดไม่สำเร็จ** + +### วิธีเขียน ALT Text ที่ดี + +- อธิบายรูปภาพอย่างชัดเจน +- ใช้คำที่เกี่ยวข้องกับเนื้อหา +- ไม่ยาวเกินไป (ประมาณ 125 ตัวอักษร) +- ไม่ใช้คำว่า "image of" หรือ "picture of" + +การเขียน ALT Text ที่ดีจะช่วยให้ SEO ของคุณดีขึ้นอย่างเห็นได้ชัด! diff --git a/src/content/blog/core-web-vitals.md b/src/content/blog/core-web-vitals.md new file mode 100644 index 0000000..57f4c92 --- /dev/null +++ b/src/content/blog/core-web-vitals.md @@ -0,0 +1,26 @@ +--- +title: 'Core Web Vitals และ UX ปัจจัยการจัดอันดับ Google' +description: 'ทำความเข้าใจ Core Web Vitals และ User Experience ที่มีผลต่อการจัดอันดับเว็บไซต์บน Google' +pubDate: 2024-01-15 +author: 'MoreminiMore Team' +tags: ['SEO', 'Google', 'UX'] +--- + +## Core Web Vitals คืออะไร? + +Core Web Vitals เป็นปัจจัยสำคัญที่ Google ใช้ในการประเมินประสบการณ์การใช้งานเว็บไซต์ของคุณ + +### 3 ปัจจัยหลัก + +1. **LCP (Largest Contentful Paint)** - ความเร็วในการโหลดเนื้อหาหลัก ควรต่ำกว่า 2.5 วินาที +2. **FID (First Input Delay)** - เวลาตอบสนองต่อการโต้ตอบครั้งแรก ควรต่ำกว่า 100 มิลลิวินาที +3. **CLS (Cumulative Layout Shift)** - ความเสถียรของเลย์เอาต์ ควรต่ำกว่า 0.1 + +### วิธีปรับปรุง + +- ใช้รูปภาพที่เหมาะสมและบีบอัด +- ลด JavaScript ที่ไม่จำเป็น +- ใช้ CDN สำหรับเนื้อหาสถิต +- เลือก hosting ที่มีประสิทธิภาพ + +การปรับปรุง Core Web Vitals จะช่วยให้เว็บไซต์ของคุณมีอันดับที่ดีขึ้นบน Google! diff --git a/src/content/blog/google-ranking-factors.md b/src/content/blog/google-ranking-factors.md new file mode 100644 index 0000000..4820b1c --- /dev/null +++ b/src/content/blog/google-ranking-factors.md @@ -0,0 +1,42 @@ +--- +title: 'Google Ranking Factors พื้นฐาน SEO ที่ต้องรู้' +description: 'เรียนรู้ปัจจัยพื้นฐานที่ Google ใช้ในการจัดอันดับเว็บไซต์ เริ่มต้นทำ SEO ให้ถูกต้อง' +pubDate: 2024-01-01 +author: 'MoreminiMore Team' +tags: ['SEO', 'Beginner', 'Google'] +--- + +## พื้นฐาน SEO ที่ต้องรู้ + +SEO (Search Engine Optimization) คือกระบวนการปรับปรุงเว็บไซต์ให้ติดอันดับดีบน Google + +### ปัจจัยพื้นฐาน + +#### On-Page SEO +- Title Tag ที่มีคำค้นหา +- Meta Description ที่ดึงดูด +- Header Tags (H1, H2, H3) +- Content ที่มีคุณภาพ +- Internal Linking + +#### Off-Page SEO +- Backlinks จากเว็บคุณภาพ +- Social Signals +- Brand Mentions + +#### Technical SEO +- Site Speed +- Mobile-Friendly +- SSL Certificate +- XML Sitemap +- Robots.txt + +### เริ่มต้นอย่างไร? + +1. วิจัยคำค้นหา (Keyword Research) +2. สร้างเนื้อหาคุณภาพ +3. ปรับปรุง On-Page +4. สร้าง Backlinks +5. ติดตามผลและปรับปรุง + +SEO เป็นกระบวนการระยะยาว แต่ผลลัพธ์คุ้มค่าแน่นอน! diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index d4b62fe..d638dbc 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -6,7 +6,7 @@ interface Props { description?: string; } -const { title = 'MoreminiMore - ที่ปรึกษาองค์กร AI เพิ่มยอดขายด้วยข้อมูล', description = 'เราให้คำปรึกษาด้าน AI Transformation กลยุทธ์การตลาดโดยใช้ข้อมูลเป็นพื้นฐาน พัฒนาศักยภาพของบุคลากรให้สูงขึ้น เพื่อเพิ่มยอดขายให้กับลูกค้าให้มากที่สุด' } = Astro.props; +const { title = 'MoreminiMore - ที่ปรึกษาองค์กร AI', description = 'เพิ่มยอดขายด้วย AI Transformation' } = Astro.props; --- @@ -15,180 +15,176 @@ const { title = 'MoreminiMore - ที่ปรึกษาองค์กร AI - +