Technical SEO คือการปรับแต่งเว็บไซต์ในเชิงเทคนิคเพื่อให้ Google crawl และ index เว็บของคุณได้ดีขึ้น ถ้า On-page SEO คือการเขียน content ดีๆ Technical SEO คือการทำให้โครงสร้างเว็บพร้อมรองรับ
ทำไม Technical SEO ถึงสำคัญ?
ถึงแม้คุณจะมี content ดีแค่ไหน ถ้า:
- Google crawl เว็บไม่ได้ → ไม่ติดอันดับ
- เว็บโหลดช้า → user หลุด + rank ต่ำ
- ไม่มี mobile-friendly → โดน penalty
- โครงสร้างไม่ดี → Google เข้าใจยาก
Google ประกาศว่า Core Web Vitals เป็นปัจจัยหนึ่งในการ ranking ตั้งแต่ปี 2021
1. Core Web Vitals
Core Web Vitals คือตัวชี้วัดประสบการณ์ผู้ใช้ที่ Google ให้ความสำคัญ มี 3 ตัว:
LCP (Largest Contentful Paint)
- วัด: เวลาที่ใช้โหลด content หลัก
- เป้าหมาย: < 2.5 วินาที
- วิธีปรับปรุง:
- Optimize รูปภาพ
- ใช้ CDN
- Lazy loading
- Server response time ต่ำ
INP (Interaction to Next Paint)
- วัด: ความ responsive เมื่อ user interact
- เป้าหมาย: < 200ms
- วิธีปรับปรุง:
- ลด JavaScript blocking
- Code splitting
- Optimize event handlers
CLS (Cumulative Layout Shift)
- วัด: การกระเด้งของ layout
- เป้าหมาย: < 0.1
- วิธีปรับปรุง:
- กำหนด size ของรูปและ video
- ไม่ inject content แบบ dynamic
- Font loading strategy ที่ดี
2. Structured Data (Schema Markup)
Structured Data ช่วยให้ Google เข้าใจ content ของคุณดีขึ้น และอาจได้ Rich Snippets
Schema ที่เว็บบริษัทควรมี:
// Organization Schema
{
"@type": "Organization",
"name": "ชื่อบริษัท",
"url": "https://...",
"logo": "https://.../logo.png",
"contactPoint": {
"@type": "ContactPoint",
"telephone": "+66...",
"contactType": "customer service"
}
}
// LocalBusiness Schema (ถ้ามีหน้าร้าน)
{
"@type": "LocalBusiness",
"name": "...",
"address": {...},
"openingHours": "Mo-Fr 09:00-18:00"
}
ประเภท Schema อื่นๆ ที่มีประโยชน์:
- Article - สำหรับบทความ/blog
- Service - สำหรับหน้าบริการ
- FAQ - สำหรับหน้า FAQ
- BreadcrumbList - แสดง breadcrumb ใน search result
3. Sitemap และ Robots.txt
Sitemap.xml
บอก Google ว่าเว็บมีหน้าอะไรบ้าง:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2024-01-01</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://example.com/services</loc>
<lastmod>2024-01-01</lastmod>
<priority>0.8</priority>
</url>
</urlset>
Robots.txt
บอก crawler ว่าควร/ไม่ควร crawl อะไร:
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/
Sitemap: https://example.com/sitemap.xml
4. URL Structure
URL ที่ดีควร:
- สั้น กระชับ
- มี keyword
- ใช้ขีดกลาง (-) แทนขีดล่าง (_)
- ไม่มี parameter ที่ไม่จำเป็น
❌ Bad: /page?id=123&cat=service
✅ Good: /services/web-development
5. Meta Tags
Title Tag
- 50-60 ตัวอักษร
- มี keyword หลักอยู่หน้า
- แต่ละหน้าไม่ซ้ำกัน
<title>รับทำเว็บไซต์ Next.js | Mernsoft</title>
Meta Description
- 150-160 ตัวอักษร
- เขียนให้น่าคลิก
- มี CTA เบาๆ
<meta name="description" content="บริการรับทำเว็บไซต์ด้วย Next.js โหลดไว SEO ดี - ทักไลน์ประเมินราคาฟรี" />
6. Internal Linking
การลิงก์ภายในช่วยให้:
- Google เข้าใจโครงสร้างเว็บ
- กระจาย PageRank
- User navigate ได้ง่าย
แนวทาง:
- ทุกหน้าควรมีลิงก์จากหน้าอื่นอย่างน้อย 1 ลิงก์
- ใช้ anchor text ที่บอกความหมาย
- ลิงก์ไปหน้าที่เกี่ยวข้อง
7. Mobile-Friendly
Google ใช้ Mobile-First Indexing หมายความว่าดูเวอร์ชัน mobile เป็นหลัก
Checklist:
- [ ] Responsive design
- [ ] Font size อ่านง่าย (16px+)
- [ ] ปุ่มกดง่าย (48px+)
- [ ] ไม่มี horizontal scroll
- [ ] Viewport meta tag ถูกต้อง
<meta name="viewport" content="width=device-width, initial-scale=1" />
8. HTTPS
เว็บต้องใช้ HTTPS (SSL Certificate) เพราะ:
- เป็น ranking factor
- Browser แสดง warning ถ้าไม่มี
- สร้างความน่าเชื่อถือ
Checklist: Technical SEO สำหรับเว็บบริษัท
- [ ] Core Web Vitals ผ่านทั้ง 3 ตัว
- [ ] มี Sitemap.xml และ submit ใน Search Console
- [ ] มี Robots.txt ที่ถูกต้อง
- [ ] มี Structured Data (Organization, Service, FAQ)
- [ ] URL structure สะอาด
- [ ] Title และ Meta Description ครบทุกหน้า
- [ ] Internal linking ดี
- [ ] Mobile-friendly
- [ ] HTTPS
- [ ] ไม่มี broken links
- [ ] ไม่มี duplicate content
Tools ที่แนะนำ
- Google Search Console - ฟรี ดู performance และ issues
- PageSpeed Insights - ดู Core Web Vitals
- Schema Markup Validator - ตรวจ Structured Data
- Screaming Frog - Crawl เว็บหาปัญหา
- Ahrefs/Semrush - วิเคราะห์ SEO ละเอียด
สรุป
Technical SEO เป็นพื้นฐานที่ทุกเว็บไซต์ต้องมี ถึงแม้จะดูเป็นเรื่องเทคนิค แต่ผลลัพธ์ที่ได้คือเว็บที่โหลดไว, ติดอันดับดี และให้ประสบการณ์ที่ดีกับผู้ใช้