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にする方法

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

WordPressサイトの外部リンクをnofollowしたいですか?個別のリンクには簡単にnofollowタグを追加できますが、すべての外部リンクをnofollowにしたい場合はどうすればよいでしょうか?この投稿では、WordPressで外部リンクをすべてnofollowにする方法を紹介します。

すべての外部リンクをnofollowする理由とタイミング

Automatically nofollow WordPress links

検索エンジンは、リンクをリンク先のURLとドメインのランキングシグナルとみなします。外部サイトにリンクを張るということは、そのサイトにリンクジュースを渡すということです。

リンクジュースはSEOのスコアカードのようなものです。リンクしているサイトよりも多くのサイトにリンクしている場合、投稿者の権威は失われていきます。

これが、多くのSEO専門家がnofollow属性の使用を推奨する理由です。

nofollow属性を持つリンクの例:

<a href="http://example.com" rel="nofollow">サイトの例</a>。

WordPressの初期設定では、外部リンクに自動的にnofollowを追加する権限がありません。外部サイトへのリンクには、手動でnofollowを追加する必要があります。

もっと簡単な方法は、Title and NoFollow ForLinksプラグインを使うことです。これは、リンク挿入ポップアップにタイトルフィールドとnofollowチェックボックスを追加します。リンクを追加する際に、リンクをnofollowにすることができます。

Title and NoFollow Fields in the Insert Link popup

しかし、複数投稿者のサイトを運営している場合、投稿者が外部リンクのチェックボックスをチェックし忘れる可能性が高くなります。この場合、ユーザー入力を必要としないソリューションが必須となります。

それでは、WordPressでユーザー入力を必須とせずに、すべての外部リンクにnofollowを追加する方法を見てみましょう。

WordPressですべての外部リンクにNoFollowを追加する

最初に行う必要があるのは、External Linksプラグインをインストールして有効化することです。有効化したら、設定 ” 外部リンクのページでプラグインの設定を行う必要があります。

External links settings

プラグイン設定の最初のオプションは、nofollowをグローバルに適用します。自分だけがテーマファイルにアクセスできる場合は、チェックを外しておくことができます。

少し下にスクロールして、「Add Nofollow」の隣のチェックボックスをクリックして有効化する。この設定により、WordPressの投稿やページ内のすべての外部リンクにnofollowが追加されます。

設定ページには有効化できるオプションがいくつかあります。

WordPressのテキストウィジェット内のリンクにnofollowを追加することができます。また、プラグインがサブドメインをローカルサイトとして扱い、nofollowルールから除外することもできます。

External Linksプラグインは、外部リンクを新しいウィンドウで開いたり、外部リンクの横にアイコンを表示することもできます。

Advanced options for external links in WordPress

他にもnofollowルールから除外したいサイトがある場合は、「除外するドメイン」セクションに追加することができます。

httpやwwwは追加せず、カンマで区切ってください。変更を保存するボタンをクリックして、設定を保存します。

重要:プラグインはこれらの属性をその場で追加することに注意してください。プラグインを無効化すると、すべてのリンクからnofollowが削除されます。

以上、この投稿がWordPressですべての外部リンクをNoFollowにするのにお役に立てば幸いです。WordPressサイトでアフィリエイトリンクをクロークする方法については、こちらのガイドもご参照ください。

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

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

Avatar

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

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

  1. Syed Balkhi says

    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. Jiří Vaněk says

    What concerns ‘nofollow,’ is it good to always use it, or make an exception for pages with very high authorit

    • WPBeginner Support says

      You could skip nofollow for high value sites for your articles but it is a question of testing and personal preference for which sites you don’t include nofollow for.

      管理者

  3. Christen Costa says

    Note: This plugin broke a number of our category pages as of June 2019. I’d be very careful. And by break, I mean the category pages were appearing blank.

    • WPBeginner Support says

      Thank you for letting us know, we’ll certainly take a look at the plugin and update the article once we find an alternative should it not be working.

      管理者

  4. Paul says

    Hi there,

    Thanks for the help. I installed the External Links plugin. Quick question though. A lot of the links on my website are in the form of buttons, would the External Links plugin you suggested also work on these and make them nofollow? I assume it would as from my understanding it makes all outbound links no follow correct?

    Thanks
    Paul

  5. Natasha says

    I thought you only had to make links no follow that would be earning a profit? Like affiliate links?

    So, your saying ALL external links need to be no follow?

  6. Amit Singh says

    Hello,

    Good Article. I have an issue regarding my wp site. inbound Link on posts or pages (only for posts / page. In sidebars, footer it works fine.) not working on small devices like mobile but working fine in computer. How to fix this issue. I am using WP External Link plugin but no result. I also used open external link wp plugin as i read in your site but not worked. Please help me to fix this issue.

    Thanks

  7. Sandeep says

    I recently loss my ranking in google. I have a job alert website, i do everything correct but i use all externel links without no follow and next window..my website has approx 1000 externel links. Any idea to get back ranking in google? Please reply wpbeginner you are only hope for me…

    • WPBeginner Support says

      Hey Sandeep,

      Please follow the instructions described in the article. With the help of ‘External Links’ plugin you will be able to add nofollow to all external links.

      管理者

  8. sean says

    I am using a plugin to no follow all external links. But sometimes I need to make a link do follow and for that I use rel= “do follow”. When I check, It showed both no follow and do follow.
    What Should I do?

    • WPBeginner Support says

      You should see the documentation of the plugin you are using to nofollow all links. Plugin author may have described how to make some links do follow. If they haven’t, then you should ask them how to do that.

      管理者

  9. Sheryl says

    I recently received a disturbing e-mail from Google saying:

    Google has detected a pattern of links from your site to other sites that is either unnatural or irrelevant. This pattern attempts to artificially boost other sites’ ranking in Google Search results. Such unnatural ranking would cause search results to show preference for results not relevant to the user’s actual query. It also violates Google Webmaster Guidelines. Therefore, we are discounting the trust in links on your site.

    I use Affiliate links in almost every post and I now have over 450 posts — If I have to manually code each link it will take forever to do…. Can I somehow get an explanation from Google on exactly what caused this action?

    Thanks

    Sheryl

  10. Rodrigo says

    Any further feedback on the pros & cons of non-folliwing al-links? I haven’t made my mind yet. I just installed this plugin, but now, reading the comments, I wonder whether it was the right thing to do.

  11. Ted says

    I wish you had given us a real solution to do this. Adding, yet again, another plugin to fix the problem is not the right way to go.

  12. Peter griffiths says

    I think it’s important to note that in almost all circumstances it’s not a good idea to no follow ALL external links as that completely defeats the purpose – it’s clear that Google thinks this too
    A while ago I thought about using a plugin to do this but a website looks much more natural if you don’t do this. If you think about it it says to Google that all external links on the site are paid links, and if all links can be bought, how useful would they be for the visitor and a different site that doesn’t nofollow everything should be ranked higher as a result – correct me if I’m wrong though.

  13. Mickey says

    The idea of using nofollow to preserve link juice died in 2009. At this point, it costs you the link juice whether you nofollow it or not. Here’s some details from WooRank:

    If you trust the link, let it be followed. Give them their credit back, because it’s the same to you either way. If you don’t trust the link, why do you have it on your blog at all?

    Nofollow ads, of course, or anything user-generated (comments, etc), but anything else in your blog should be left open and followed.

  14. Mark Corder says

    In SEO / NoFollow discussions, I’ve heard that having links to external sites that supplement your content is good, and that they should be allowed to “follow”. My photoblog has many external links, and most lead to official information associated with the photo I’m presenting – like State Park / Forest Service websites and Wikipedia articles.

    Should I be marking these as NoFollow?

返信を残す

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