RSS

Page Link To วิธีทำ Link URL ออกจาก WordPress ด้วย Plugin Page Links To

Sun, Jan 25, 2009

WordPress

สวัสดีวัน ตรุษจีนครับ

วันนี้วันดีเลยมาแจกของดีๆครับ

ปัญหาหนึ่งของคนที่ใช้ WordPress คือ เวลาจะทำเมนูให้เป็น Link URL ออกไปข้างนอกเป็นอะไรที่ลำบากมาก ไหนจะต้องประโค๊ตมากมาย จนบางทีผมก็เหนื่อยใจ ไปใช้ Joomla ดีกว่าเพราะ เจ้า WordPress ไม่สามารถทำเมนูลิ้งไปที่อื่นได้

เอาหล่ะครับพอดีผมไปเจอทีเด็ดปลั๊กอินตัวนี้จากการ Search Google ดู ไปเจอพอดีเลยเอามาลองใช้ปรากฏว่า ใช้ได้ครับ

มันสามารถของเจ้า Page Links To

Page Links To สามารถเปลี่ยน Page ที่เราต้องการเป็น URL ไปที่อื่นๆที่เราตั้งไว้ได้

Page Links Toสามารถเปลี่ยน Post ที่เราต้องการเป็น URL ไปที่อื่นๆที่เราตั้งไว้ได้

แค่นี้ก็ดีแล้วนะครับ

ปลั๊กอินนี้ มันมีชื่อว่า  Page Links To

อันนี้คือ คำแนะนำจากผู้ผลิต

About

Page Links To is a plugin that allows you to make certain WordPress pages or posts link to a URL of your choosing, instead of their WordPress page or post URL. It also will redirect people who go to the old (or “normal”) URI to the new one, using a redirect style of your choosing (302 Moved Temporarily is standard, but you can enable 301 Moved Permanently redirects i f you wish.)

For instance, say you have a photo gallery installed, but can’t be bothered to integrate it into WordPress. You’ll still probably want to have a link to it from your WordPress blog. With this plugin you can create a new page called “Photos,” and point it to the URL of your photo gallery. “Photos” will show up when you use wp_list_pages();, but instead of linking to the (blank) “Photos” page, it will link you your photo gallery!

Another usage scenario is that you have content that was on a post, and want to move it to a page. You could redirect the post to the new page. And if you use a 301 redirect, search engines will eventually “find” the new location and change their links.

This plugin uses only two simple MySQL queries, no matter how many total pages or Page Links To enabled pages you have, so you don’t have to worry about scalability.

อ่านตัวเต็มได้ที่ http://txfx.net/code/wordpress/page-links-to/

และ Download ได้ที่

Download

สำหรับวิธีการใช้งานไม่มีอะไรมาก

คือสร้าง Page หรือ Post ที่เราต้องการ แล้วในหน้า Add New …. นั้นให้ลองดูส่วนล่างๆ จะพบคำว่า URL ให้กรอก URL ที่ต้องการจากนั้น กด Publish ตามปรกติ

ซึ่งจากเดิมที่มันจะเป็น Page มันจะกลายเป็น Link URL ที่เราต้องการ

  • Share/Bookmark
, , , , , , ,

4 Comments For This Post

  1. KhonBanNa.com Says:

    โอ้ว…เดวลองใช้ดู ท่าจะเจ๋ง แฮะๆ

  2. ake9x Says:

    อ๋อ… มันเป็นเช่นนี้
    งมหาวิธีมาตั้งนาน

    ขอบคุณครับ !!!

  3. admin Says:

    เชื่อม่ะ ผมงมโข่งเรื่องการทำลิ้งออกตั้งนาน
    ทั้งแก้โค๊ตด้วยมือ อื่นๆสาราพัด

    จนเหนื่อยครับ
    สุดท้ายก็ได้วิธีนี้มา

  4. Flik Says:

    +1 ครับ ปกติผมจะเพิ่งลิงค์เอง แบบนี้ก็ถือว่าสะดวกมากครับ

Leave a Reply