Search Engine Optimization, or SEO, is a topic that most WordPress developers at least have a minimal grasp on. The general premise is simple enough: if your website is fast, highly linked, and optimized with the right keywords, you stand a good chance at ranking well on Google (and other search engines, if you care about them).
搜索引擎优化(SEO)是大多数WordPress开发人员至少很少了解的主题。 总体前提很简单:如果您的网站快速,高度链接并且使用正确的关键字进行了优化,则您很有可能在Google(和其他搜索引擎,如果您在意的话)上排名很好。
However, a basic understanding doesn’t always guarantee that you’ll develop WordPress based websites or tools that are SEO friendly. It’s possible that you are making one or more mistakes related to Search Engine Optimization without even realizing it.
但是,基本了解并不能总保证您将开发基于WordPress的网站或SEO友好的工具。 您可能会犯一个或多个与搜索引擎优化相关的错误,甚至没有意识到。
Here are four of the top SEO mistakes that WordPress developers should avoid, and ways that you can stay on Google’s good side.
这是WordPress开发人员应避免的四大SEO错误,以及保持Google好的一面的方法。
If you work within an agency or in a client facing role of any kind, you certainly know better than to argue with your customers. However, this is one instance in which you should be very firm: clients should not add their company blog to blog.domain.com.
如果您是在代理机构中工作,或者是在面对各种角色的客户中工作,那么与与客户争执肯定比您更了解。 然而,这是一个实例中,你应该很坚定:客户不应该增加他们的公司博客中blog.domain.com。
With regards to SEO, a subdomain is viewed as a separate domain with its own authority and ‘rating’. If a client is creating a new website and a new blog, and their blog is hosted on a subdomain, this means that incoming links to the blog (where they will probably be creating a majority of their link worthy content) will not pass any authority to their site domain.
关于SEO,子域被视为具有自己的权限和“评级”的单独域。 如果客户正在创建一个新的网站和一个新的博客,并且他们的博客托管在一个子域中,则这意味着指向该博客的传入链接(他们可能会在其中创建大部分值得链接的内容)不会通过任何授权到他们的网站域。
On the other hand, if the blog is installed in a subdirectory, as is most common, incoming links will pass authority to the site domain. This can help build a website’s reputation and increase the amount of inbound links twice as fast, especially if the client’s content is mostly housed here.
另一方面,如果将博客安装在最常见的子目录中,则传入链接会将权限传递给站点域。 这可以帮助建立网站的声誉,并以两倍的速度增加入站链接的数量,特别是如果客户的内容大部分位于此处。
This topic is one that is regularly discussed by SEOs, especially because there are times in which a subdomain installation might be a better choice. This Search Engine Watch article has more information on the theoretical situations that may lead you to choose a subdomain over a subdirectory, including a reputation management issue or desire to occupy an additional spot in the SERPs (Search Engine Results Pages).
这个主题是SEO经常讨论的一个主题,特别是因为在某些情况下,子域安装可能是一个更好的选择。 该搜索引擎观察文章提供了有关理论情况的更多信息,这些理论情况可能会导致您选择子目录中的子域,包括信誉管理问题或希望在SERP(搜索引擎结果页)中占据更多位置。
This mistake is one that applies to any developers creating WordPress themes, or occasionally plugins.
此错误适用于所有创建WordPress主题或偶尔创建插件的开发人员。
Many themes have a credit link in the footer with a link to the creator’s website, which is common practice. However, aggressive credit linking can be a huge SEO mistake.
许多主题在页脚中都有一个功劳链接,并带有一个链接到创建者网站的链接,这是常见的做法。 但是,积极的信用关联可能是一个巨大的SEO错误。
When you add a credit link to the footer of your theme, or somewhere below or within a plugin, this link essentially appears on every page of a WordPress installation on which it is used. This is known as a sitewide link. Sitewide links can be very powerful, and generally speaking, the more you get, the better your site authority will be.
当您将信用链接添加到主题的页脚中,插件下方或插件中的某个位置时,此链接实际上会显示在使用它的WordPress安装的每个页面上。 这称为站点范围链接。 网站范围的链接可能非常强大,通常来说,获得的链接越多,您的网站权限就越好。
However, Google’s algorithm has advanced to the point of easily detecting unnatural links, specifically sitewide ones. So if your theme or plugin ends up on thousands of websites, and hundreds of thousands of indexed pages, you could be in trouble. A sitewide link from a few sites may look natural, but from thousands of unrelated websites with different topics? It’s not going to make much sense.
但是,Google的算法已经发展到可以轻松检测到不自然的链接(特别是站点范围内的链接)的程度。 因此,如果您的主题或插件最终出现在成千上万的网站和成千上万的索引页面上,那么您可能会遇到麻烦。 来自几个站点的站点范围链接看起来很自然,但是来自数千个主题不同的不相关网站呢? 这没有多大意义。
Increasing your own website’s reputation through the use of aggressive credit links simply isn’t worth the gamble. To preserve your credit link without potentially subjecting yourself to a Google penalty, I recommend changing any footer or plugin credit links to nofollow.
通过使用积极的信用链接来提高自己网站的声誉根本不值得赌博。 为了保留您的信用链接,而不会受到Google的罚款,建议您将所有页脚或插件信用链接更改为nofollow。
Simply add the rel=”nofollow” link to your link as follows:
只需将rel =“ nofollow”链接添加到您的链接中,如下所示:
Theme by WordPress.org
The credit link will still appear intact, allowing those interested in your work to visit your site, but no value will be passed. Essentially, the site using your theme or plugin won’t be seen as ‘endorsing you’, which won’t boost (or harm) your authority.
信用链接仍将保持原样,允许对您的工作感兴趣的人访问您的网站,但不会传递任何价值。 本质上,使用您的主题或插件的网站不会被视为“认可您”,这不会增强(或损害)您的权限。
There are two ways that the speed of a WordPress installation affects a website’s SEO:
WordPress安装速度会通过两种方式影响网站的SEO:
Users prefer faster websites. If users are driving up the bounce rate by leaving quickly because WordPress takes too long to load, Google will dock the site in its ranking algorithm
用户喜欢速度更快的网站。 如果用户由于WordPress加载时间过长而通过快速离开来提高跳出率,则Google会将网站停靠在其排名算法中
A study by Moz found that it’s not how long it takes your entire website or page to load that affects SEO and therefore ranking, but the time to first byte. Therefore, if your server is sluggish, or a plugin or dependency is wrecking the time it takes to load WordPress, your ranking (or your client’s) could take a hit.
Moz进行的一项研究发现,加载整个网站或页面所需的时间不会影响整个SEO(因此影响排名),而是影响到第一个字节的时间。 因此,如果您的服务器速度缓慢,或者插件或依赖项破坏了加载WordPress的时间,那么您的排名(或客户的排名)可能会受到打击。
However, keep in mind that this isn’t all just about what search engines want. Users want faster websites, too. Generally speaking, faster websites have lower bounce rates, and have higher conversion rates as well.
但是,请记住,这不只是搜索引擎想要的。 用户也需要更快的网站。 一般来说,速度更快的网站跳出率较低, 转换率也更高 。
If you’re concerned about speed, you can use a CDN service like CloudFlare or Amazon CloudFront to speed up the load times of your WordPress site. You can learn more about using a CDN with WordPress by reading this article by Jacco Blankenspoor.
如果您担心速度,则可以使用CloudFlare或Amazon CloudFront之类的CDN服务来加快WordPress网站的加载时间。 通过阅读Jacco Blankenspoor的这篇文章,您可以了解有关将CDN与WordPress结合使用的更多信息。
We also covered the overall topic of site speed in a recent article: “Speed Up Your WordPress Site“.
我们还在最近的文章“ 加速您的WordPress网站 ”中介绍了网站速度的总体主题。
Ignoring SEO altogether is, in my opinion, the worst mistake a WordPress developer can make. Ignorance is not bliss, and if you’re doing any kind of work for a client in which you are responsible for ‘making it work’, you owe it to them to have an understanding of how SEO can be used to improve their current circumstances or your own development tasks.
在我看来,完全忽略SEO是WordPress开发人员可能犯的最严重错误。 无知不是幸福,如果您为负责“使其成功”的客户从事任何工作,则应归功于他们了解如何利用SEO改善他们的当前状况。或您自己的开发任务。
However, even if you work as part of a team, or will be handing your work off to a team in which someone responsible for SEO is employed, it’s still key to have some knowledge of how SEO works and why it is important. If you develop slow, weighty plugins or link heavy themes, or install WordPress without a CDN, you may simply be creating additional work for someone else further down the line.
但是,即使您是团队的一员,或者将工作移交给聘请负责SEO的人员的团队,了解SEO的工作原理和重要性仍然是关键。 如果您开发缓慢,笨重的插件或链接繁重的主题,或者安装没有CDN的WordPress,则可能只是为其他人创建了其他工作。
If you’re new to SEO, or simply want a refresher course, here are a few resources you may find helpful:
如果您不熟悉SEO,或者只是想学习复习课程,那么以下一些资源可能会有所帮助:
Moz’s Beginner’s Guide to SEO
Moz的SEO入门指南
SEO Fast Start eBook
SEO快速入门电子书
DistilledU
蒸馏U
What other tips do you have for WordPress developers looking to avoid making SEO mistakes? Have you made any mistakes in the past that you’ve learned from? Feel free to leave a comment with your thoughts and experiences.
对于希望避免犯SEO错误的WordPress开发人员,您还有哪些其他技巧? 您过去所学到的任何错误吗? 随意发表您的想法和经验发表评论。
翻译自: https://www.sitepoint.com/top-4-seo-mistakes-wordpress-developers-should-avoid/