WordPress บน PatHosting 2026 — ติดตั้งและใช้งาน WordPress ไทย
WordPress on PatHosting 2026 — how to install, configure, and optimize WordPress on Thai hosting for best performance.
สารบัญ
ความต้องการของ WordPress
WordPress ต้องการ Server ที่รองรับ:
- PHP 7.4+ (แนะนำ PHP 8.x เพื่อ performance ดีที่สุด)
- MySQL 5.7+ หรือ MariaDB 10.4+
- HTTPS/SSL (แนะนำเป็นมาตรฐาน)
- mod_rewrite (Apache) หรือ try_files (Nginx) สำหรับ Permalink
PatHosting Shared Hosting รองรับทุกข้อข้างต้น WordPress จึงทำงานได้ทันทีโดยไม่มีปัญหา compatibility
WordPress requires: PHP 7.4+ (8.x recommended), MySQL 5.7+/MariaDB 10.4+, HTTPS/SSL, and mod_rewrite/try_files. PatHosting Shared Hosting supports all these requirements out of the box.
วิธีติดตั้ง WordPress บน PatHosting
วิธีที่ 1: Auto Installer (ง่ายที่สุด)
- เข้า Control Panel ของ PatHosting
- มองหา "WordPress" หรือ "Softaculous" หรือ "Auto Installer"
- คลิก "Install WordPress"
- กรอกข้อมูล: URL, ชื่อเว็บ, Admin username, password และ email
- คลิก "Install" รอสักครู่
- WordPress พร้อมใช้งาน เข้า admin ที่ yourdomain.com/wp-admin
Auto Installer (easiest): log into control panel → find WordPress/Softaculous → click Install WordPress → fill URL, site name, admin credentials → click Install → access admin at yourdomain.com/wp-admin.
วิธีที่ 2: Manual Install
- Download WordPress จาก wordpress.org
- Upload ไฟล์ทั้งหมดผ่าน FTP ไปที่ public_html
- สร้าง MySQL Database ใน Control Panel
- เปิด yourdomain.com ใน browser
- ทำตาม WordPress Installation Wizard
Manual install: download WordPress → upload via FTP to public_html → create MySQL database in control panel → visit yourdomain.com in browser → follow installation wizard.
ตั้งค่า SSL/HTTPS สำหรับ WordPress
- ไป Control Panel → SSL/TLS → activate Let's Encrypt สำหรับ domain ของคุณ
- รอ SSL active (5-10 นาที)
- ใน WordPress Admin: Settings → General → เปลี่ยน WordPress Address URL และ Site Address URL เป็น https://
- ติดตั้ง Plugin "Really Simple SSL" เพื่อ redirect HTTP → HTTPS อัตโนมัติ
Enable HTTPS: activate Let's Encrypt in control panel → wait for SSL (5-10 min) → update WordPress URLs to https:// in Settings → General → install Really Simple SSL plugin for automatic redirect.
สำคัญ: อย่าลืม update Site URL ใน WordPress ด้วย มิฉะนั้น redirect loop อาจเกิดขึ้น
ปรับแต่ง WordPress ให้เร็วบน PatHosting
- ใช้ PHP 8.x — เปลี่ยน PHP version ใน Control Panel เป็น 8.x เร็วกว่า 7.x อย่างมีนัยสำคัญ
- ติดตั้ง Cache Plugin — WP Super Cache หรือ LiteSpeed Cache (ขึ้นอยู่กับ server) ช่วยลด database query
- Optimize Database — ใช้ WP-Optimize หรือ plugin ล้าง post revision, spam comments และ transients
- Compress ภาพ — ใช้ ShortPixel, Smush หรือ TinyPNG ลดขนาดภาพ
- Lazy Load ภาพ — โหลดภาพเฉพาะที่ผู้ใช้เลื่อนมาถึง ลด initial load time
- CDN — ใช้ Cloudflare (ฟรี) เพื่อ serve static files จาก edge ใกล้ผู้ใช้
- Plugin น้อย = เร็วกว่า — ลบ plugin ที่ไม่ใช้ออก plugin ทุกตัวคือ overhead
WordPress optimization: use PHP 8.x, install caching plugin, optimize database, compress images, enable lazy loading, use Cloudflare CDN (free), and minimize unnecessary plugins.
Security พื้นฐานสำหรับ WordPress
- เปลี่ยน Default Admin Username — อย่าใช้ "admin" เป็น username
- Password แข็งแกร่ง — ใช้ password manager สร้าง password ที่ไม่ซ้ำ
- Limit Login Attempts — ติดตั้ง Limit Login Attempts Reloaded ป้องกัน brute force
- อัพเดทสม่ำเสมอ — อัพเดท WordPress Core, Theme และ Plugin ทันทีที่มี update
- Two-Factor Authentication — ติดตั้ง WP 2FA สำหรับ admin account
- Disable XML-RPC — ถ้าไม่ใช้ mobile app WordPress ให้ปิด XML-RPC
WordPress security basics: change default admin username, use strong passwords, limit login attempts, keep everything updated, enable 2FA for admin, and disable XML-RPC if not needed.
ตั้งค่า Email สำหรับ WordPress
WordPress ส่ง email ผ่าน PHP mail() ซึ่งมักถูก spam filter ที่ปลายทาง วิธีแก้คือส่งผ่าน SMTP จริงๆ:
- ติดตั้ง Plugin WP Mail SMTP
- ตั้งค่า SMTP Server เป็น mail server ของ PatHosting (ดูจาก Control Panel)
- ใช้ email @yourdomain.com ที่สร้างไว้เป็น sender
- Test email ว่าส่งถึง inbox ได้จริง
Fix WordPress email deliverability: install WP Mail SMTP plugin → configure with PatHosting's SMTP server (found in control panel) → use @yourdomain.com as sender → test email delivery.
Backup WordPress บน PatHosting
อย่าพึ่ง backup ของ hosting อย่างเดียว ควรมี backup แยกต่างหาก:
- UpdraftPlus — plugin ยอดนิยม backup ไปยัง Google Drive, Dropbox, S3 ได้
- VaultPress/Jetpack Backup — real-time backup จาก Automattic (ผู้ทำ WordPress)
- BackWPup — backup ฟรีที่ครบครัน
ตั้ง schedule backup รายวันอย่างน้อย และเก็บ backup ไว้นอก server (cloud storage)
Recommended WordPress backup plugins: UpdraftPlus (Google Drive/Dropbox/S3), VaultPress/Jetpack Backup (real-time), BackWPup (free and comprehensive). Schedule daily backups stored outside the server.
คำถามที่พบบ่อย
PatHosting รองรับ WooCommerce ไหม? / Does PatHosting support WooCommerce?
รองรับ WooCommerce ต้องการ PHP, MySQL และ SSL ซึ่ง PatHosting Shared Hosting รองรับทั้งหมด · Yes — WooCommerce needs PHP, MySQL, and SSL, all of which PatHosting Shared Hosting provides.
WordPress ช้าบน Shared Hosting ปกติไหม? / Is WordPress slow on shared hosting?
ขึ้นอยู่กับ traffic และ optimization ถ้าติดตั้ง Cache Plugin, ใช้ PHP 8.x และ optimize ภาพ WordPress บน Shared Hosting ควรเร็วสำหรับ traffic ปกติ · Depends on traffic and optimization. With caching, PHP 8.x, and image optimization, WordPress on shared hosting runs well for normal traffic.
PatHosting รองรับ Elementor, Divi หรือ Page Builder ไหม? / Does PatHosting support page builders?
รองรับ Elementor, Divi และ page builder ทั่วไปทำงานบน PHP+WordPress ซึ่ง PatHosting รองรับ · Yes — Elementor, Divi, and common page builders run on PHP+WordPress, fully supported by PatHosting.
สรุป
PatHosting รองรับ WordPress ได้ดีครบทุกด้านตั้งแต่ PHP 8.x, MySQL, SSL ฟรี ไปจนถึง Auto Installer ที่ติดตั้งได้ใน 1 คลิก เหมาะสำหรับเว็บ WordPress ไทยทุกขนาดที่ต้องการ server ในประเทศ latency ต่ำ และ support ภาษาไทย
PatHosting supports WordPress comprehensively — PHP 8.x, MySQL, free SSL, one-click installer, and Thai server for low latency. A solid choice for Thai WordPress sites of all sizes needing local hosting and Thai-language support.
PatHosting
WordPress | PHP 8.x | SSD | Free SSL | Server ไทย | Support ไทย
ดู PatHosting สำหรับ WordPress →