600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > 友情链接加nofollow_如何在WordPress中Nofollow所有外部链接

友情链接加nofollow_如何在WordPress中Nofollow所有外部链接

时间:2021-01-29 02:15:15

相关推荐

友情链接加nofollow_如何在WordPress中Nofollow所有外部链接

友情链接加nofollow

Do you want to nofollow external links on your WordPress site? While you can easily add nofollow tag to individual links, what if you wanted to nofollow all external links? In this article, we will show you how to nofollow all external links in WordPress.

您是否要在WordPress网站上关注外部链接? 虽然您可以轻松地将nofollow标记添加到单个链接,但是如果要nofollow所有外部链接怎么办? 在本文中,我们将向您展示如何在WordPress中遵循所有外部链接。

为什么和何时需要取消关注所有外部链接 (Why and When You Need to Nofollow All External Links)

Search engines consider links as a ranking signal for the linked URL and domain. When you link to an external site, you are passing your link juice to that site.

搜索引擎将链接视为链接的URL和域的排名信号。 链接到外部站点时,就是将链接汁传递到该站点。

Link juice is kind of your SEO score card. If you are linking to more sites than the sites linking back to you, then you will start losing authority.

Link juice是您的SEO计分卡。 如果您链接到的站点多于链接回您的站点,则您将开始失去权限。

This is why many SEO experts recommend using nofollow attribute.

这就是为什么许多SEO专家建议使用nofollow属性的原因。

Example of a link with nofollow attribute:

具有nofollow属性的链接示例:

<a href="" rel="nofollow">Example Website</a>

<a href="" rel="nofollow">Example Website</a>

By default, WordPress does not allow you to automatically add nofollow to external links. You will have to manually add this to outgoing links to external sites.

默认情况下,WordPress不允许您将nofollow自动添加到外部链接。 您将必须手动将其添加到外部站点的传出链接中。

An easier way is to use Title and NoFollow For Links plugin. It adds a title field and a nofollow checkbox in the insert link popup. You can make links nofollow as you add them.

一种更简单的方法是使用Title和NoFollow For Links插件。 它在插入链接弹出窗口中添加标题字段和nofollow复选框。 您可以在添加链接时使其成为nofollow。

But if you run a multi-author site, then it increases the chances that your authors may forget to check the box for some external links. In this case, you need a solution that does not require any user input.

但是,如果您运行一个多作者网站,那么它会增加您的作者可能忘记选中某些外部链接的可能性。 在这种情况下,您需要不需要任何用户输入的解决方案。

Having said that, let’s see how you can add nofollow to all external links in WordPress without requiring any user input.

话虽如此,让我们看看如何在无需任何用户输入的情况下将nofollow添加到WordPress中的所有外部链接。

在WordPress中的所有外部链接中添加NoFollow (Adding NoFollow to All External Links in WordPress)

First thing you need to do is install and activate the External Links plugin. Upon activation, you need to visitSettings » External Linkspage to configure the plugin settings.

您需要做的第一件事是安装并激活外部链接插件。 激活后,您需要访问设置»外部链接页面以配置插件设置。

The first option in the plugin settings applies nofollow globally. You can keep it unchecked if only you have access to your theme files.

插件设置中的第一个选项将全局应用nofollow。 如果只有您可以访问主题文件,则可以取消选中它。

Scroll down a little and enable ‘Add Nofollow’ by clicking the checkbox next to it. This option will add nofollow to all external links in WordPress posts and pages.

向下滚动一点并通过单击旁边的复选框启用“添加Nofollow”。 此选项会将nofollow添加到WordPress帖子和页面中的所有外部链接。

There are a number of options on the settings page which you can enable.

您可以在设置页面上启用许多选项。

You can add nofollow to links in WordPress text widgets. You can also allow the plugin to treat subdomains as local sites and exclude them from nofollow rules.

您可以将nofollow添加到WordPress文本小部件中的链接。 您还可以允许该插件将子域视为本地站点,并将其从nofollow规则中排除。

External Links plugin also allows you to open external link in new window and you can even show an icon next to external links.

外部链接插件还允许您在新窗口中打开外部链接,甚至可以在外部链接旁边显示一个图标。

If you have some other websites that you want to exclude from nofollow rules, then you can add them under ‘Domains to exclude’ section.

如果您要从nofollow规则中排除其他网站,则可以在“要排除的域”部分下添加它们。

Do not add http or www and use commas to separate domains. Click on the save changes button to store your settings.

请勿添加http或www并使用逗号分隔域。 单击保存更改按钮以存储您的设置。

Important:Please note that the plugin adds these attributes on the fly. Deactivating the plugin will remove nofollow from all links.

重要提示:请注意,插件会即时添加这些属性。 停用该插件将从所有链接中删除nofollow。

That’s all, we hope this article helped you NoFollow all external links in WordPress. You may also want to see our guide on how to cloak affiliate links on your WordPress site.

仅此而已,我们希望本文能帮助您NoFollow WordPress中的所有外部链接。 您可能还希望查看我们的指南,该指南介绍了如何隐藏WordPress网站上的会员链接 。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在Twitter和Facebook上找到我们。

翻译自: /plugins/how-to-nofollow-all-external-links-in-wordpress/

友情链接加nofollow

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。