SIG的無花果首頁SIG的無花果新聞SIG的無花果通過電子郵件SIG的無花果最熱門的職位
重要人物
Helping you, by helping myself with blogging, browsing, and tech tips 幫助您,幫助自己與博客,瀏覽和高新技術的秘訣

SQT: Reversing the Scraper Caper sqt :扭轉刮板caper

January 19th, 2008 · by David Bradley 2008年1月19日,大衛布拉德利

週六快速提示標誌 Is your blog getting scraped?是您的博客越來越抄襲? Don’t risk a Google duplicate content penalty.沒有風險的Google重複的內容的刑罰。 A simple Wordpress tweak to your feed-rss2.php file will make the scrapers link back to your original post.一個簡單的WordPress調整到您的飼料rss2.php文件將使鏟運機的鏈接回到您的原職。

Find your feed-rss2.php file in the wp-includes folder and add the following code to line 39 (in WP 2.3.1) immediately after <?php the_content() ?>找到您的飼料rss2.php文件中的可濕性粉劑-包括文件夾和下面的代碼添加到線39條(在可濕性粉劑2.3.1 )後,立即< ? PHP的the_content ( ) ? >

 <p><a href="<?php the_guid(); ?>">Permalink + Comments</a></p> <p> <一href = “ < ? PHP的the_guid ( ) ; ? > ” >永久+評論< /一> < / > 

Check out簽出 Patrick Altoft’s Blogstorm site帕特里克altoft的blogstorm網站 for full details.了解詳情。

3 responses so far ↓三反應到目前為止↓

Leave a Comment留下意見

Comments are checked for spam before appearing, no need to post it twice.評論是檢查垃圾郵件之前出現,不需要後兩次。

Related Posts相關文章