<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>รวมวิธีการใช้ Wordpress, Joomla, Drupal, Magento และ SEO &#187; xml</title> <atom:link href="http://killthewhat.com/tag/xml/feed/" rel="self" type="application/rss+xml" /><link>http://killthewhat.com</link> <description>Knowledge Base by howhost.com</description> <lastBuildDate>Fri, 24 Dec 2010 15:00:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.3</generator> <item><title>สร้าง xml google sitemap ด้วยตนเองบน magento</title><link>http://killthewhat.com/magento-tutorials/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-xml-google-sitemap-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2%e0%b8%95%e0%b8%99%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%9a%e0%b8%99-magento/</link> <comments>http://killthewhat.com/magento-tutorials/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-xml-google-sitemap-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2%e0%b8%95%e0%b8%99%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%9a%e0%b8%99-magento/#comments</comments> <pubDate>Thu, 16 Jul 2009 19:36:57 +0000</pubDate> <dc:creator>snappy</dc:creator> <category><![CDATA[Magento]]></category> <category><![CDATA[google]]></category> <category><![CDATA[seo]]></category> <category><![CDATA[sitemap]]></category> <category><![CDATA[xml]]></category><guid
isPermaLink="false">http://killthewhat.com/?p=3573</guid> <description><![CDATA[Sitemap ก็คือแผนที่เว็ปไซด์ของคุณ ว่าเว็ปไซด์คุณมีหน้าเว็ปต่างๆ อยู่ที่ไหนบ้าง หน้าไหน link ไปสู่หน้าไหน เป็นการรองรับให้ทุกๆ หน้าของเว็ปไซด์คุณถูกเข้าถึงได้ทั้งหมด อีกทั้งเอื้อให้ spiders ของ Search Engine อีกด้วย ซึ่ง magento เองก็มีการสร้าง sitemap ให้กับเว็บไซต์ของร้านค้าของเราอยู่แล้วจะอยู่ที่เมนูบาร์ด้านล่าง แต่ที่เราจะทำก็คือทำ sitemap ในรูปของไฟล์ .xml ซึ่งเอาไว้ให้ google รู้จักนั่นเองครับ พวกเราจะสร้าง Google Sitemap ได้ยังไง Step 1. ให้เราสร้างไฟล์ sitemap.xml มาก่อนครับโดยให้สร้างไว้ที่ http://www.yourstore.com/sitemap/sitemap.xml สร้าง folder sitemap มาก่อน จากนั้นสร้างไฟล์ sitemap.xml กำหนดสิทธิ์ sitemap ให้เป็น 777 $mkdir sitemap $touch sitemap/sitemap.xml $chmod 777 -R sitemap/ [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://killthewhat.com/wp-content/uploads/2009/07/sitemap.png" alt="sitemap" title="sitemap" width="630" height="99" class="aligncenter size-full wp-image-3574" /></p><p>Sitemap ก็คือแผนที่เว็ปไซด์ของคุณ ว่าเว็ปไซด์คุณมีหน้าเว็ปต่างๆ อยู่ที่ไหนบ้าง หน้าไหน link ไปสู่หน้าไหน เป็นการรองรับให้ทุกๆ หน้าของเว็ปไซด์คุณถูกเข้าถึงได้ทั้งหมด<span
id="more-3573"></span> อีกทั้งเอื้อให้ spiders ของ Search Engine อีกด้วย ซึ่ง magento เองก็มีการสร้าง sitemap ให้กับเว็บไซต์ของร้านค้าของเราอยู่แล้วจะอยู่ที่เมนูบาร์ด้านล่าง แต่ที่เราจะทำก็คือทำ sitemap ในรูปของไฟล์ .xml ซึ่งเอาไว้ให้ google รู้จักนั่นเองครับ</p><h4>พวกเราจะสร้าง Google Sitemap ได้ยังไง</h4><p>Step 1. ให้เราสร้างไฟล์ sitemap.xml มาก่อนครับโดยให้สร้างไว้ที่ http://www.yourstore.com/sitemap/sitemap.xml</p><ul><li>สร้าง folder sitemap มาก่อน</li><li>จากนั้นสร้างไฟล์ sitemap.xml</li><li>กำหนดสิทธิ์ sitemap ให้เป็น 777</li></ul><pre class="brush: php; title: ;">
$mkdir sitemap
$touch sitemap/sitemap.xml
$chmod 777 -R sitemap/
//คำสั่ง Linux
</pre><p>Step 2. ให้เราไปที่หน้า admin ของ magento จากนั้นไปที่เมนู System >> Configuration >> Catalog >> Sitemap ปรับ Use Tree Like Category Sitemap ให้เป็น Yes<br
/> <a
href="http://killthewhat.com/wp-content/uploads/2009/07/magento99.png" rel="lightbox[3573]"><img
src="http://killthewhat.com/wp-content/uploads/2009/07/magento99.png" alt="magento" title="magento" width="630" height="241" class="aligncenter size-full wp-image-3583" /></a></p><p>Step 3. ให้เราไปที่หน้า admin ของ magento จากนั้นไปที่เมนู Catalog >> Google Sitemap<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/07/magento97.png" alt="magento" title="magento" width="630" height="248" class="aligncenter size-full wp-image-3580" /></p><p>Step 4. จากนั้นกดปุ่ม Add Site Map ใส่รายละเอียดดังรูป จากนั้นกด Save<br
/> <a
href="http://killthewhat.com/wp-content/uploads/2009/07/magento100.png" rel="lightbox[3573]"><img
src="http://killthewhat.com/wp-content/uploads/2009/07/magento100.png" alt="magento" title="magento" width="630" height="115" class="aligncenter size-full wp-image-3585" /></a></p><p>Step 5. แล้วก็ให้เรากด Generate เพื่อให้ระบบทำการ Generate sitemap ขึ้นใน sitemap.xml ที่เราไว้<br
/> <a
href="http://killthewhat.com/wp-content/uploads/2009/07/magento101.png" rel="lightbox[3573]"><img
src="http://killthewhat.com/wp-content/uploads/2009/07/magento101.png" alt="magento" title="magento" width="630" height="124" class="aligncenter size-full wp-image-3587" /></a></p><p>ลองเข้า http://www.yourstore.com/sitemap/sitemap.xml จะได้ดังรูป<br
/> <a
href="http://killthewhat.com/wp-content/uploads/2009/07/screenshot_0016.png" rel="lightbox[3573]"><img
src="http://killthewhat.com/wp-content/uploads/2009/07/screenshot_0016.png" alt="screenshot_001" title="screenshot_001" width="630" height="331" class="aligncenter size-full wp-image-3588" /></a></p> ]]></content:encoded> <wfw:commentRss>http://killthewhat.com/magento-tutorials/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-xml-google-sitemap-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2%e0%b8%95%e0%b8%99%e0%b9%80%e0%b8%ad%e0%b8%87%e0%b8%9a%e0%b8%99-magento/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>[Plugin] Google XML Sitemaps ทำ sitemap เพื่อ SEO</title><link>http://killthewhat.com/wordpress-tutorials/plugin-google-xml-sitemaps/</link> <comments>http://killthewhat.com/wordpress-tutorials/plugin-google-xml-sitemaps/#comments</comments> <pubDate>Fri, 08 May 2009 19:38:31 +0000</pubDate> <dc:creator>snappy</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[google]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[seo]]></category> <category><![CDATA[sitemap]]></category> <category><![CDATA[xml]]></category><guid
isPermaLink="false">http://killthewhat.com/?p=862</guid> <description><![CDATA[Google XML Sitemaps เป็นตัวช่วยสร้าง site map ให้กับบล็อกเราครับเพื่อในการทำ SEO ตัวนี้มีประโยชน์มากครับมันจะทำการส่งค่าไปยังให้ search engine ด้วยทำให้ search engine รู้จักเว็บเราได้เร็วขึ้น และมีการปรับปรุงอยู่ตลอดอยู่ที่เราจะตั้งค่ายังไง และถ้าทำ SEO บนโฮสติงของฮาวโฮสแล้วด้วยละก็ไม่อยากพูดครับ ติดอันดับกันง่ายๆเลย หลังจากติดตั้งและ activate แล้วให้ไปตั้งค่าที่ Settings &#62; XML-Sitemap ถ้าเราเพิ่งลง plugin ตัวนี้ และยังไม่เคยสร้าง sitemap.xml เลยก็ให้กดที่ &#8220;Click here&#8221; ตรง status ข้อแรกครับ เท่านี้ plugin ก็จะสร้าง sitemap ให้เราเสร็จเรียบร้อยแล้ว แถมแจ้ง search engine อีกสามตัว อย่าง google, msn และ ask ให้ด้วยว้าว&#8230; สามารถดูได้ครับว่ามันสร้างให้เราจริงป่าวพิมพ์ url ว่า [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemaps</a> เป็นตัวช่วยสร้าง site map ให้กับบล็อกเราครับเพื่อในการทำ SEO ตัวนี้มีประโยชน์มากครับมันจะทำการส่งค่าไปยังให้ search engine ด้วยทำให้ search engine รู้จักเว็บเราได้เร็วขึ้น และมีการปรับปรุงอยู่ตลอดอยู่ที่เราจะตั้งค่ายังไง และถ้าทำ SEO บนโฮสติงของฮาวโฮสแล้วด้วยละก็ไม่อยากพูดครับ ติดอันดับกันง่ายๆเลย หลังจากติดตั้งและ activate แล้วให้ไปตั้งค่าที่ Settings &gt; XML-Sitemap</p><p><a
href="http://killthewhat.com/wp-content/uploads/2009/05/howhost_00113.png" rel="lightbox[862]"><img
class="aligncenter size-full wp-image-863" title="howhost_00113" src="http://killthewhat.com/wp-content/uploads/2009/05/howhost_00113.png" alt="howhost_00113" width="630" height="358" /></a><br
/> <span
id="more-862"></span><br
/> ถ้าเราเพิ่งลง plugin ตัวนี้ และยังไม่เคยสร้าง sitemap.xml เลยก็ให้กดที่ &#8220;Click here&#8221; ตรง status ข้อแรกครับ เท่านี้ plugin ก็จะสร้าง sitemap ให้เราเสร็จเรียบร้อยแล้ว แถมแจ้ง search engine อีกสามตัว อย่าง google, msn และ ask ให้ด้วยว้าว&#8230; สามารถดูได้ครับว่ามันสร้างให้เราจริงป่าวพิมพ์ url ว่า http://domainname.com/sitemap.xml ก็จะเห็นรายละเอยีดยาวเป็นหางว่าว</p><p
style="text-align: center;"><a
href="http://killthewhat.com/wp-content/uploads/2009/05/howhost_0029.png" rel="lightbox[862]"><img
src="http://killthewhat.com/wp-content/uploads/2009/05/howhost_0029-295x1024.png" alt="howhost_0029" title="howhost_0029" width="295" height="1024" class="aligncenter size-large wp-image-865" /></a></p><p>เรามาดูในส่วนของค่าต่างๆกันว่ามีอะไรบางส่วนแรกคือ Basic Option</p><p
style="text-align: center;"><img
src="http://killthewhat.com/wp-content/uploads/2009/05/howhost_0035.png" alt="howhost_0035" title="howhost_0035" width="512" height="171" class="aligncenter size-full wp-image-867" /></p><p>sitemap file</p><ol><li>เลือกให้สร้างไฟล์ .xml ธรรมดา</li><li>เลือกให้สร้างไฟล์แบบ  gzipped ในรูปของ .xml.gz</li></ol><p>building mode</p><ol><li>สร้าง sitemap ใหม่ทุกครั้งที่มีการเปลี่ยนแปลงเนื้อหาของบล็อค</li><li>สร้าง sitemap แบบ manual ผ่านทาง GET</li></ol><p>ในส่วนของ Update notification ก็ให้เป็นค่าเดิมไป เรามาดูส่วน advance option</p><p
style="text-align: center;"><img
src="http://killthewhat.com/wp-content/uploads/2009/05/howhost_0045.png" alt="howhost_0045" title="howhost_0045" width="493" height="263" class="aligncenter size-full wp-image-871" /></p><ol><li>กำหนดจำนวนเรื่องใน sitemap (ไม่ให้มีเรื่องมากเกินไป) โดยจะเอาเรื่องใหม่ที่สุดรวมไว้ก่อน</li><li>เพิ่มหน่วยความจำ</li><li>เพิ่มเวลาในการดำเนินการ (เป็นวินาที  0 คือไม่จำกัด)</li><li>รวมไฟล์ XSLT stylesheet ในปลั๊คอินเข้าไปใน sitemapด้วย เพื่อให้เราสามารถอ่านไฟล์ XML ได้เข้าใจ   โดยค่าปกติจะเป็นไฟล์ xsl ของปลั๊คอิน</li><li>เปิดใช้โหมด MySQL พื้นฐาน  กรณีที่ MySQL ผิดพลาด (แต่ก็กินหน่วยความจำมากขึ้น)</li><li>สร้าง sitemap ขึ้นภายหลัง ในกรณีที่เรามีเรื่องหรือหน้าเยอะ  การแก้ไขหรือสร้างใหม่ก็ทำให้ใช้เวลานานมากในการบันทึก  เพราะปลั๊คอินจะสร้าง sitemap ขึ้นมาด้วย  การเปิดใช้ตัวเลือกนี้จะทำให้เราสามารถบันทึกได้ทันที  โดยที่ปลั๊คอินจะสร้าง sitemap ขึ้นทีหลังโดยใช้ wp-cron</li></ol><p>เข้ามาในส่วน Location of your sitemap file เป็นที่ที่เราจะเก็บไฟล์ sitemap.xml ไว้ครับ</p><p
style="text-align: center;"><img
src="http://killthewhat.com/wp-content/uploads/2009/05/howhost_0053.png" alt="howhost_0053" title="howhost_0053" width="511" height="278" class="aligncenter size-full wp-image-873" /></p><ol><li>แบบอัตโนมัติ  แบบนี้ไฟล์ sitemap จะอยู่ที่ไดเรคทอรีหลักที่เดียวกับบล็อค</li><li>แบบตั้งค่าเอง  อยากไว้ตรงไหนก็แล้วแต่สะดวก  แต่ค่าทั้งสองควรจะตรงกันด้วยนะ</li></ol><p>Change frequencies ตั้งค่าว่าหน้าต่าง ๆ อัพเดตบ่อยแค่ไหน</p><p
style="text-align: center;"><img
src="http://killthewhat.com/wp-content/uploads/2009/05/howhost_0064.png" alt="howhost_0064" title="howhost_0064" width="507" height="403" class="aligncenter size-full wp-image-875" /></p><p>จากนั้นกด update options เป็นอันเสร็จสมบูรณ์สำหรับ Google XML Sitemaps</p><p>link : <a
href="http://wordpress.org/extend/plugins/google-sitemap-generator/">http://wordpress.org/extend/plugins/google-sitemap-generator/</a><br
/> Thank : <a
href="http://www.wordthai.com/index.php?topic=23.0">Wordthai.com</a></p> ]]></content:encoded> <wfw:commentRss>http://killthewhat.com/wordpress-tutorials/plugin-google-xml-sitemaps/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 20/35 queries in 0.014 seconds using disk

Served from: killthewhat.com @ 2012-02-08 17:31:26 -->
