Sunday, June 30, 2013

[Tips] ขั้นตอนการทำ Wordpress Multisite แบบสมบุรณ์ +Imac

สำหรับ Tips การทำ wordprss multisite ผมเปิดให้สมาชิกทั่วไปเห็นได้
เนื่องจากมันเป็นความรู้เบื้องต้นสำหรับ การทำ worpdress นะครับ

ตอนนี้ยังไม่มีรูปแสดงนะครับ เดี๋ยวผมจับภาพแล้วเอามาแก้ตามทีหลังนะครับ
และไฟล์ pluin 5 ตัว ตามหัวข้อ 6 ผมปรับแต่งให้มัน auto มากขึ้นเรียบร้อยแล้ว เดี๋ยวจะอัพเด็ทให้ทีหลังนะครับ

         ================================================================
สำหรับมือใหม่ ยังไม่ชำนาญผมแนะนำให้ print หรือคัดลองเอามาทำ check list ของเราได้นะครับ ว่าเราทำถึงขั้นตอนไหนแล้วจะได้ไม่หลง
         ================================================================

11 ขั้นตอนการทำ Wordpress Multisite

1. Add domain เข้า cpanel  ==> addon domain

2.ทำ wicard sub domain    ( *.domain)  
==>add subdomian  
ช่องแรกใส่ ใส่ * แล้วเลือก domain ที่ต้องการ
ช่องสองใส่ pub_html/ชื่อโดเมนที่เลือก

3.Install wp ผ่าน menu fantasico หรือ autoinstaller ของ softaculous แล้วแต่กรณี

4.Install plugin wp_multistie_enable
==>login เข้า wp  ==>Plugin--->install-->add new เมื่อ add เสร็จให้ active 
เมื่อ Active เสร็จแล้ว ==>Setting  -->Enable Multisite
เลือก sub-domian กด install

5 Login อีกครั้งหนึ่ง แล้วเข้าไปที่ Network Admin เมนูจะอยู่ด้านบนขวามือตรง (My site -->Network admin)

ุุ6.Install Plugin ที่จำเป็นประกอบด้วย
   6.1 Random Theme On Signup
   6.2 wpmu-new-blog-defaults.zip
   6.3 all-in-one-seo-pack.zip
   6.4 WP Super Cache
   6.5 Wp Sitemap for Multisite
   Plugin -->Add New
เสร็จแล้วก็กด avtie ให้เรียบร้อย

7.ลง theme ประมาณ 10 -20 Theme ==>Theme -->add new
เสร็จแล้วก็กด avtie ให้เรียบร้อย

8.Config Wp Blog Default
==> Setting --> New Blog Defaults
  Writing Settings  ---> คลิ๊กถูกหน้าช่อง  XML-RPC  Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.
  Discussion Settings  
      เอา เครื่องหมาย ถูกออก ==>Attempt to notify any blogs linked to from the article (slows down posting.)  
    เอา เครื่องหมาย ถูกออก ==> Allow link notifications from other blogs (pingbacks and trackbacks.) 
    คลิีกถูก เลือก                        ==> Automatically close comments on articles older than days เปลื่อน จาก เลข 14 เป็น 1
    เอา เครื่องหมาย ถูกออก ==> Anyone posts a comment 
    เอา เครื่องหมาย ถูกออก ==> A comment is held for moderation
  Customize Permalink Structure
   เลือก ช่องสุดท้าย Custom Structure  ใส่ในช่องว่างเป็น  /%postname%/
   
     ** ตรงนี้สำคัญ นะครับ ต้อง เลือกทั้ง 4 อันเลย
   คลิ๊กถูกเลือก  Delete Initial Comment  Yes
   คลิ๊กถูกเลือก  Close Comments on Hello World Post  yes
   คลิ๊กถูกเลือก  Close Comments on About Page Yes
   คลิ๊กถูกเลือก  Make First Post a Draft ("Hello World") Yes
   
  กด Save Change
  
  9.Config Wordpress Super Cache
  ==> Setting --> Wordpress Super Cache
คลิ๊กถูกเลือก   Caching       Caching On (Recommended)  เพื่อเปิดใช้งาน cache
กด update Status

10.ปรับแต่ง Domain หลัก 
 ลบ post ,page
 enable xmlrpc    Writing Settings  ---> คลิ๊กถูกหน้าช่อง  XML-RPC  Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.
Discussion Settings ทำเหมือน blog default ข้างบน
Permalink Settings  เลือกเป็น Post name
เปลี่ยน Theme ที่สวยงาน ที่เมนู Theme 


11 Add New Site เพื่อสร้าง subdomain ไว้ปั่น
เมนู Site -->  Add New
Site Address ใส่ address ของ site อย่าให้มีช่องว่างหรืออัีกระพิเศษ
Site Title   Title ของเว็บ
Admin Email  Email  make เอาก็ได้ เช่น autopost001@hotmail.com 
เสร็จแล้ว กด Add site ก็เป็นอันเสร็จ 
จะได้ sub domain ที่ ปรับแต่ง seo enable xmlrpc และ เปลี่ยน theme ใหม่ แบบ random เรียบร้อยแล้ว

สำหรับ การ add new site สามารถใช้ imacros รันได้เลย เดี๋ยวผมจะทำให้เป็นตัวอย่างง่ายๆไว้รันกันนะครับ


อัพเด็ท imacros สำหรับ สร้าง SUB 
1.นำไฟล์ wp_mu_add_site.csv ไปไว้ใน My Documents\iMacros\Datasources\
2.นำไฟล์ wp_mu_add_site.iim   ปไว้ใน My Documents\iMacros\Macros\

แก้ไขไฟล์ wp_mu_add_site.csv

colum ที่ 1 เป็น address 
colum ที่ 2 เป็น Title
colum ที่ 3 เป็น Email
colum ที่ 4 เป็นชื่อ domain หลัก ไม่ต้องใส่ http://

วิธีใช้ Login เข้า domain หลักก่อน แล้วค่อย รัน imarcos

http://155studio.com/155autoposter/index.php?topic=496.0

No comments:

Post a Comment