หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: วิธีทำ NoFollow SMF board, NoFollow All Links SMF  (อ่าน 1585 ครั้ง)
0 สมาชิก และ 2 บุคคลทั่วไป กำลังดูหัวข้อนี้
Dr.Mammoth
ประโยชน์สูงประหยัดสุด
Administrator
*****

พลังน้ำใจ 2009
ออฟไลน์ ออฟไลน์

เพศ: ชาย
กระทู้: 144




ดูรายละเอียด เว็บไซต์ อีเมล์
« เมื่อ: กันยายน 24, 2010, 11:18:36 AM »

Important Info:
o This Mod was created by SMFPacks.com - The #1 Website for the Customization of your SMF.

SMFPacks.com Provides Other Great Packages:
- Reason for Editing Mod.
- Yet Another Global Announcements Mod.
- SMF Social Groups.
- SMF Links Directory.
- SMF Downloads Directory.
- SMF Dynamic Directory.
- Advanced Topic Prefix Mod.
- Advanced Invitations System.
- Move Topic Notification.
- PM to New Members.
- Permissions Info.
- Next Post Level.
- Karma Buttons.
- SMF Multi Quote.
- Attachments in Topics.
- and much more visit us on SMFPacks.com

Original Author:
- karlbenson

Previous Developer:
- Sleepy Arcade

Developer:
- NIBOGO

Features:
o Adds rel="nofollow" to both types of url tags
- [ iurl ][ /iurl ]
- [ url ][ /url ]
o Example
<a href="hxxp://www.simplemachines.org" rel="nofollow">SimpleMachines.org[/url]

Compatibility:
- 1.1.X
- 2.0 RC2
- 2.0 RC3

Special Thanks:
- karlbenson (Original Author of the Mod)
- Sleepy Arcade (Previous Developer)

Download this mod
By  NoFollow All Links v1.2.1 - NIBOGO

เปิดไฟล์ ./Sources/Subs.php

iurl Find:ค้นหา
โค๊ด:
'tag' => 'iurl',
                'type' => 'unparsed_content',
                'content' => '<a href="$1"

Replace With:แทนที่ด้วย
โค๊ด:
'tag' => 'iurl',
                'type' => 'unparsed_content',
                'content' => '<a href="$1" rel="nofollow"

iurl before Find:ค้นหา
โค๊ด:
'tag' => 'iurl',
                'type' => 'unparsed_equals',
                'before' => '<a href="$1"

Replace With:แทนที่ด้วย
โค๊ด:
'tag' => 'iurl',
                'type' => 'unparsed_equals',
                'before' => '<a href="$1" rel="nofollow"

url Find:ค้นหา
โค๊ด:
                'tag' => 'url',
                'type' => 'unparsed_content',
                'content' => '<a href="$1"

Replace With:แทนที่ด้วย
โค๊ด:
                'tag' => 'url',
                'type' => 'unparsed_content',
                'content' => '<a href="$1" rel="nofollow"

url before Find:ค้นหา
โค๊ด:
                'tag' => 'url',
                'type' => 'unparsed_equals',
                'before' => '<a href="$1"

Replace With:แทนที่ด้วย
โค๊ด:
                'tag' => 'url',
                'type' => 'unparsed_equals',
                'before' => '<a href="$1" rel="nofollow"

การทำ DoFollow และ Nofollow
DoFollow และ NoFollow เป็น Attribute ในการทำลิงค์  (AnchorTag) ซึ่งทั้ง 2 แบบนั้น ให้ผลที่แตกต่างกันค่อยข้างมาก ยกตัวอย่าง html ที่ใช้ attribute Nofollow  เพราะโดย Default ของ Anchor Tag จะเป็น DoFollow อยู่แล้ว ดังนั้น ถ้าเราจะใส่ NoFollow ก็ตามนี้เลย

<a href=?hxxp://www.mysite.com? rel=?nofollow?>

คำถามต่อมาคือ จะใส่ทำไม?

เนื่องมาจาก Blog มีความเป็น Web 2.0 (ผู้ใช้สามารถแสดงความคิดเห็นและใส่ลิงค์ได้) ทำให้มี Spammer, Spammy ชอบมา Comment แล้วใส่ลิงค์กลับไปหาเว็บตนเองเยอะมาก

ผู้พัฒนา Blog จึงมองว่า Blog ได้รับผลเสียเพราะมีลิงค์ออกจำนวนมาก ทั้ง ๆ ที่ไม่ได้ใส่เอง จึงได้เพิ่มส่วนของ Attribute ?NoFollow? เข้ามาเพื่อ ?ไ่ม่ให้คะแนน PR? ไปสู่ เว็บดังกล่าวได้

จึงคิดได้ง่าย ๆ ว่า การทำ NoFollow เพื่่อป้องกันคะแนน PR ในหน้านั้น ๆ ลดลงโดยไม่จำเป็น (เพราะมี Spammer มาป่วน) แต่การทำ NoFollow ไม่ได้ทำมาเพื่อป้องกันคะแนน PR เราลดไปให้หน้าเว็บอื่นๆ แต่ในทาง seo เว็บนั้น ๆ จะได้รับ Backlink จาก Blog เราแต่ไม่ให้คะแนน PR ไปด้วย

เราสามารถทำกับ Internal Page ของเว็บเราเองได้เช่นกัน ก็เพื่อป้องกันคะแนนหน้านั้น ไหลไปสู่หน้าอื่น ยกตัวอย่างเช่น

หน้าแรกเว็บเรามีลิงค์มากมาย เป็นลิงค์ไปยังหมวดหมู่ เนื้อหาทั่วไป แบบนี้ เราไม่จำเป็นต้องทำ NoFollow เพราะเราให้หน้าเนื้อหา หน้าหมวดหมู่ของเรามีคะแนน PR เพิ่มขึ้นในอนาคต

แต่? หน้าที่เกี่ยวกับ Policy, Contact Us หรืออะไรก็แล้วแต่ที่เรามองว่า เราไม่ต้องการให้มีคะแนน PR เราก็สามารถใส่ NoFollow กับลิงค์นั้นได้ครับ

แล้วได้ประโยชน์อะไรล่ะ?

แน่นอน ต้องได้สิ หน้า Policy, Contact Us มักจะมีทุกหน้าของเว็บ (เท่าที่สังเกตุ ทุก Footer จะมี) ดังนั้น ในหน้าแรก ถ้าเรา DoFollow ลิงค์พวกนี้ จากปกติมีลิงค์ 50 ก็จะกลายเป็น 52 ทันที ทำให้คะแนนหน้าแรกของเราโดนแบ่งให้กับ Policy และ Contact Us โดยไม่มีความจำเป็น!!

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

สรุป

DoFollow จะ่ให้ผลทาง Backlink และ คะแนน PR

NoFollow จะให้ผลทาง Backlink แต่ ไม่ให้คะแนน PR

ควรเลือกวิธีการให้ถูกต้องตามความเหมาะสมครับ

By SEO Amazon Affiliate

« แก้ไขครั้งสุดท้าย: กันยายน 24, 2010, 11:55:08 AM โดย Dr.Mammoth » บันทึกการเข้า

ไทยบางกอกโฮสท์


สปริงเกอร์ไทยแลนด์ >>sprinklerthailand
สปริงเกอร์ไทดี >>sprinklerthai-dee
เครื่องทำตรายาง >>Xpert Stamp
Best Shop Sell >>Best Shop Sell
รายชื่อขนส่ง >>ขนส่ง

สวัสดิ์ดีคุณ... ผู้เยี่ยมชม  ถ้าสนใจจะเปิดเว็บไซต์ก็  คลิ๊ก
srivisliam252
NewTick
*

พลังน้ำใจ 0
ออฟไลน์ ออฟไลน์

กระทู้: 1


ดูรายละเอียด เว็บไซต์ อีเมล์
« ตอบ #1 เมื่อ: มิถุนายน 12, 2011, 02:28:05 PM »

อยากทำเป็นบ้าง
บันทึกการเข้า

seamteikk
Ways to replace your Furniture
NewTick
*

พลังน้ำใจ 0
ออฟไลน์ ออฟไลน์

เพศ: ชาย
กระทู้: 1

[url=www.torontoescortindependent.com]Toronto Independent Escorts[/url] [url=www.torontoescortindependent.com]Independent Escorts Toronto[/url] [url=www.torontoescortindependent.com]Independent Escort Toronto[/url]

7865432
ดูรายละเอียด เว็บไซต์
« ตอบ #2 เมื่อ: กรกฎาคม 08, 2011, 07:19:32 PM »

The Young Girls of Rochefort (1967) is the happiest film I have ever seen. It?s the best 1960s pop song you?ve ever heard stretched out over two hours. It?s a film thoroughly infused with joy and unembarrassed about displaying it ? totally free of cynicism or doubt, it is the cinematic equivalent to walking amongst the clouds.
 
The Young Girls of Rochefort 
Directed by Jacques Demy
   
   
   
   
   
   
   
   
   
   
   
Wet Basement
บันทึกการเข้า

themoonja
NewTick
*

พลังน้ำใจ 0
ออฟไลน์ ออฟไลน์

กระทู้: 1


ดูรายละเอียด เว็บไซต์
« ตอบ #3 เมื่อ: กรกฎาคม 10, 2011, 01:14:58 AM »

ขอบคุณครับ สำหรับบทความดีๆ
บันทึกการเข้า

หน้า: [1]   ขึ้นบน
พิมพ์
กระโดดไป: