Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressのコメントからNoFollowを削除する方法

WordPressの初期設定では、コメントするすべてのリンクにnofollowタグが自動的に追加されます。最近、読者の一人からWordPressのコメントからnofollowを削除することは可能ですか?この投稿では、WordPressのコメントリンクからnofollowを削除する方法を紹介し、そのメリットとデメリットを説明します。

NoFollowとは何ですか?

2005年、Googleはリンクにrel=”nofollow “属性を導入しました。この属性は、検索エンジンに対して、あなたがそのリンクを支持していないことを示すものです。

<a href="http://www.example.com" rel="nofollow">リンク例</a>のようになります。

nofollow tag in WordPress comment links

WordPressのコメントでNoFollowが自動的に追加されるのはなぜですか?

その昔、バックリンクを構築しSEOを操作する最も簡単な方法の1つは、バックリンクのためにブログにコメントすることだった。これはスパムコメントの数を増やした。

nofollowタグの目的は、ブログのコメントをSEO操作に有効でなくすることだった。

コメントスパムの主な動機はバックリンクを得ることだったので、nofollowはスパマーのやる気を失わせる。

そのため、WordPressはコメントするすべてのリンクにrel=nofollowを自動的に追加するようにしたのです。

良いのか悪いのか?

コメント内のすべての発信リンクにnofollowを追加することで、ブログのオーナーに安心感を与えることができた。これで、スパムコメントが誤って公開されても、自動的にnofollowされるようになった。

しかし、nofollow属性はコメントするスパムを完全に取り除いたわけではありません。スパマーは単に気にしていなかっただけで、nofollowリンクにも価値があると思い込んでいたのだ。

その一方で、ブロガーや読者の中には、あなたの投稿に貢献しても何の価値も得られないと感じ、コメントする気をなくす人もいた。

WordPressのコメントでNoFollowを無効化すべきか?

nofollowを無効化したいサイトオーナーがいる理由は、より多くのコメントを促したいからでしょう。

リンクをdofollowにすることでコメント数は増えるかもしれませんが、コメントするスパムも増えてしまいます。

WordPressは、誰かがコメントを送信するとPHPスクリプトを実行します。コメントが増えるということは、サーバー上で実行されるPHPスクリプトのインスタンスが増えるということです。また、サイトが遅くなる可能性もあり、WordPressホスティングサービスが負荷に対応できない可能性もあります。

ほとんどのコメントスパムはスパムボットによって送信され、Akismetで簡単にキャッチすることができます。しかし、nofollowを無効化すると、実際のユーザーによって送信される低品質なコメントが多くなります。

サイト上で実際のコンテンツを書くよりも、コメントをモデレートすることに多くの時間を費やすことになります。

私たちは、ブログのコメントする際にnofollowを無効にしないことをお勧めします。実際のところ、私たちは、あなたが支持していないブログ投稿からの外部リンクにnofollowを追加することさえ推奨しています(WordPressでリンクのポップアップを挿入するためにタイトルとnofollowを追加する方法を参照してください)。

それでもなお、WordPressのコメントからnofollowを削除したい場合は、こちらをご覧ください。

動画チュートリアル

Subscribe to WPBeginner

動画が気に入らなかったり、もっと説明が必要な場合は、このまま読み進めてください。

WordPress コメントする Nofollow を無効化する

まず最初に、Remove Nofollowプラグインをインストールして有効化します。有効化した後、Settings ” Remove Nofollowでプラグインの設定を行います。

Nofollow plugin settings

Remove Nofollowプラグインは、コメント全体またはコメント投稿者リンクからだけnofollowを削除することができます。また、両方の設定を解除することもできます。

設定が完了したら、オプションの更新ボタンをクリックして設定を保存してください。

サイトにアクセスし、コメントする要素に inspect element ツールを使用して、この設定をテストすることができます。

A dofollow link in WordPress comments

この投稿がWordPressのコメントからnofollowを削除する方法を学ぶのにお役に立てば幸いです。WordPressでコメントスパムと戦うための12の重要なヒントとツールのリストもご覧ください。

この投稿を気に入っていただけたなら、WordPress動画チュートリアルのYouTubeチャンネルをぜひご登録ください。Twitterや Facebookでもご覧いただけます。

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

アバター

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

17件のコメント返信を残す

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Adrian

    Doesnt work…

    • WPBeginner Support

      While the plugin is older it is currently working on our testing, have you tried disabling your other plugins or a different theme to see if one of those is the reason it is not removing nofollow?

      管理者

  3. Jayford

    How to remove nofollow attribute on post content

  4. Faith Biete

    I came here to find how to remove no-follow from my internal links. Can you please help me out. All of my internal links are no-follow.

  5. Paritosh Pandey

    is it be possible to add do follow only at admin comments?

  6. Joe

    Hello,

    I would like to ask the same question as some other posters – would you happen to know the code to remove it manually from functions file?

    I am also trying to make some links nofollow selectively, but there doesn’t seem to be a solution for this anywhere :/ Thanks for the heads up on the plugin though.

  7. Dexx

    Thanks for the solution. If there any option to change the no follow setting without plugin?

  8. Matt Maldre

    Do you have an alternative to the “Remove Nofollow” plugin? It hasn’t been updated in two years.

  9. Sumit Kumar Patial

    Nice information to remove no follow links…… Thanks for sharing

  10. tori

    Hi,
    I installed the plugin but Chrome no longer has Inspect Element, only Element, which doesn’t reveal the info you are showing–you can no longer scroll over an area and have it show. So how can I tell if the plugin is working or not? My intention is to have follow links IN the comments, but to leave the ones left by comment-leavers as no follow.

    • WPBeginner Support

      Inspect Element menu is now replaced with just ‘Inspect’, it is the same tool.

      管理者

      • Thomas

        Oh, it helped me a lot :)

  11. Nilesh Verma

    Sir,This is not working on my website,I am using Eleven40 theme,I dont know how to fix them..??

  12. prakash

    Always provide great information for wp..so happy to read all tutorial..thanks.always follow this site.one request to u plz post more and more blog about wp.

  13. chen

    Hey Thank you for the wonderful information!!
    I really expecting this no follow option for a long time Thank you!!

  14. Peter M Bailey

    A very good post, I’m just setting up shop and wondered what the nofollow was all about. Now I know. Thanks for a very well written explanation.
    The nofollow is just for the SE spiders, and does dicourage commenting for SEO purposes, but those who do comment will still get their link in front of real peoples eyes and the more the merrier.
    Thanks again PMB (WOA)

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。