Google XML Sitemaps สำหรับ WordPress

1

Comments

Google-XML-Sitemaps-for-wordpressก่อนอื่นๆ ต้องมารู้กันก่อนว่า Sitemap มีความสำคัญกับ SEO อย่างไรบ้าง ไซต์แมพนั้นก็คือแผนที่เว็บไซต์ครับ ซึ่งก็คล้ายๆ กับสารบัญของหนังสือนั่นเอง ซึ่งมีไว้เพื่อรวบรวมลิ๊งค์ทุกๆ หน้าของเว็บไซต์เรารวมไว้ในหน้าเดียวกัน เพื่อที่ให้ Bot สามารถมาเยี่ยมชมหน้านี้เพียงหน้าเดียว ก็จะสามารถไต่ไปในหน้าอื่นๆได้ โดยที่ไม่ต้องเสียเวลาเกินกว่าที่จําเป็น สำหรับ Google XML Sitemaps ตัวนี้เป็นปลั๊กอินของ WP ซึ่งสคริปต์ของแต่ละค่ายจะทำงานไม่เหมือนกัน และจะแนะนำ Sitemap อีกตัวที่เด่นคือ Sitemap ของ PHPWind จุดเด่นคือสามารถซุ่ม Priority โดยอัตโนมัติดังนั้นเมื่อส่งเข้า Google แล้วจะไม่มีข้อผิดพลาดเลย (จะมีก็น้อย) ซึ่งถ้า Sitemap ที่มีค่า Priority เดียวกันทุกลิงก์จะเป็นปัญหากับ Google มากครับ เพราะเท่าที่ลองดูแล้วค่า Priority ที่เหมือนกันจะเกิดข้อผิดพลาดทุกลิงก์เลย Google XML Sitemaps ตัวนี้ถือว่าเป็นสุดยอด Sitemap เลยก็ว่าได้เพราะถ้าใช่ตัวนี้แล้วคุณสามารถที่จะส่งไฟล์ sitemap.xml ที่ระบบสร้างออกแล้ว นำไป Submit ไว้ที่ Search Engine หลายๆ ค่ายได้ เช่น Google, Bing, Yahoo, ASK เป็นต้น (คุ้มมากมาย) ไฟล์ที่ส่งออกมานั่นแบ่งได้เป็น 2 สกุลคือ ไฟล์ .xml (ที่นิยม) และไฟล์ .gz ซึ่งเป็นไฟล์บีบอัด

ก่อนอื่นก็ต้องเข้าไปดาวน์โหลด Google XML Sitemaps มาก่อนนะครับ

วิธีติดตั้ง
1. Upload the full directory into your wp-content/plugins directory
2. Use your favorite FTP program to create two files in your WordPress directory (that’s where the wp-config.php is) named sitemap.xml and sitemap.xml.gz and make them writable via CHMOD 666. More information about CHMOD and how to make files writable is available at the WordPress Codex and on stadtaus.com. Making your whole blog directory writable is NOT recommended anymore due to security reasons.
3. Activate the plugin at the plugin administration page
4. Open the plugin configuration page, which is located under Options -> XML-Sitemap and build the sitemap the first time. If you get a permission error, check the file permissions of the newly created files.
5. The plugin will automatically update your sitemap of you publish a post, so theres nothing more to do :)

Google XML Sitemaps for wordpress

การส่ง sitemap เข้า Google เข้าไปที่ https://www.google.com/webmasters/tools/
Google XML Sitemaps for wordpress-2

ตัวอย่าง Sitemap.xml ของผมที่ใช้ปลั๊กอินตัวนี้

< ,,,>

ตอบ : “Google XML Sitemaps สำหรับ WordPress”

  1. admin Says:
    Nov 8th, 2009 7:52 am

    อัพเดทล่าสุด 3.1.8

    New in Version 3.1.8 (2009-11-07):
    * Improved custom taxonomy handling and fixed wrong last modification date
    * Fixed fatal error in WordPress versions lower than 2.3
    * Fixed Update Notice for WordPress 2.8 and higher
    * Added warning if blog privacy is activated
    * Fixed priorities of additional pages were shown as 0 instead of 1

Leave a Reply