wordpress优化
To increase the chances of your WordPress posts ranking well in search engine results, there are a number of on-page optimisation steps you need to follow. In this post, we’ll go through those steps, giving you advice on how to complete them to give your content the best chance of success.
为了增加WordPress帖子在搜索引擎结果中排名较高的机会,您需要遵循一些页面上的优化步骤。 在本文中,我们将逐步完成这些步骤,为您提供有关如何完成这些步骤的建议,以使您的内容获得最大的成功机会。
Before we do that, it is important to mention that optimising your posts is not the only factor that will help them rank well. Most importantly, you need to create high-quality content that is linked to from authority websites, as this is what search engines value the most. On top of that, you need a website that loads quickly and which is designed to work on all devices.
在此之前,必须要提到的是,优化您的帖子并不是帮助他们获得良好排名的唯一因素。 最重要的是,您需要创建从权威网站链接到的高质量内容 ,因为这是搜索引擎最重视的内容。 最重要的是,您需要一个网站,该网站可以快速加载并且可以在所有设备上正常运行。
Here are our 10 tips for optimising your WordPress posts.
这是我们优化WordPress帖子的10条提示。
1.安装Yoast SEO插件 (1. Install the Yoast SEO plugin)

For the purposes of this post, we’ll only be looking at Yoast’s on-page optimisation features. However, the free Yoast SEO plugin is brilliant for all kinds of WordPress SEO and does everything from creating XML sitemaps to making sure your URLs are search engine friendly. It really is an all-in-one SEO solution.
出于本文的目的,我们将仅关注Yoast的页面优化功能。 但是,免费的Yoast SEO插件对于各种WordPress SEO来说都是出色的,并且可以完成从创建XML网站地图到确保您的URL对搜索引擎友好的所有工作。 这确实是一个多合一的SEO解决方案。
To install Yoast SEO, just go to Admin > Plugins > Add New, type Yoast SEO in the search box and click on ‘install’ when the plugin appears.
要安装Yoast SEO,只需转到管理>插件>添加新的,在搜索框中键入Yoast SEO,然后在出现插件时单击“安装”。
Once you have the plugin installed, you will be able to use it to optimise your posts. We’ll be referring to it during this article.
安装插件后,您将可以使用它来优化您的帖子。 我们将在本文中引用它。
2.在开始之前获取正确的关键字 (2. Get the right keywords before you start)
When you optimise a WordPress post for search engines, what you are really doing is making sure that the keywords you want your post to rank for are used effectively within the content. So, before you start to create the content, you need to know exactly what your keywords are. For detailed advice on how to do this, read our post Best Keyword Research Techniques for SEO.
当您为搜索引擎优化WordPress帖子时,您真正要做的是确保您要对帖子进行排名的关键字在内容中得到有效使用。 因此,在开始创建内容之前,您需要确切地知道关键字是什么。 有关如何执行此操作的详细建议,请阅读我们的最佳SEO关键字研究技巧文章。
Once you have researched your keywords, you should have a list that includes:
研究了关键字后,您应该拥有一个包含以下内容的列表:
- The main keyword for the post 该帖子的主要关键字
- Alternative versions of the keyword that searchers often use 搜索者经常使用的关键字的替代版本
- Long-tail keywords that can target specific users 可以针对特定用户的长尾关键字
These will form the basis of your posts optimisation.
这些将成为您优化帖子的基础。
3.撰写帖子标题 (3. Writing the post’s title)
The title is one of the most vital elements of on-page SEO and time and effort needs to be put into writing it. Search engines assume that the title will relate directly to the topic being written about and so it is the first thing they will look at to see if your post is relevant to a search query.
标题是页面SEO的最重要元素之一,需要花费时间和精力来编写它。 搜索引擎假定标题将直接与所写的主题相关,因此这是他们首先要查看的内容,以了解您的帖子是否与搜索查询相关。
For this reason, you need to include your keyword in the title and, ideally, as near the beginning as possible. For example, if you were writing a post about packed lunches for school children and the keyword was ‘packed lunches’ you’d be better off writing this:
因此,您需要在标题中加入关键字,并且最好在开头附近加入关键字。 例如,如果您写的是有关中小学生午餐盒饭的文章,而关键字是“午餐盒饭”,那么最好写以下代码:
10 Great Packed Lunches School Kids Will Love
学校孩子们会喜欢的10大包装午餐
Instead of this:
代替这个:
School Kids Will Love These 10 Great Packed Lunches
学校的孩子会喜欢这10顿丰盛的午餐
Do remember that search engines list titles in their results, so what you write also has to grab the attention of the user. If it doesn’t, no-one will click on it.
请记住,搜索引擎在结果中列出了标题,因此您编写的内容也必须引起用户的注意。 如果没有,将没有人单击它。
4.配置您的副标题 (4. Configure your subheadings)
When exploring your content, search headings will look to see if the keywords or related topic words are included in the subheadings of your text, so it is important to include them.
浏览内容时,搜索标题将查找文本的副标题中是否包含关键字或相关主题词,因此将它们包括在内非常重要。
What many WordPress users fail to do is to format subheadings as subheadings. Just putting them in bold or underlining them doesn’t work. To create a proper subheading, you need to give it an H2 tag. This can be done easily. Simply highlight the subheading, click on the drop-down box that says ‘paragraph’ in the toolbar and select ‘Heading 2’ – see image below.
许多WordPress用户无法执行的操作是将副标题格式设置为副标题。 仅将它们粗体显示或加下划线是行不通的。 要创建适当的子标题,您需要为其赋予H2标签。 这很容易做到。 只需突出显示子标题,单击工具栏中显示“段落”的下拉框,然后选择“标题2” –参见下图。

Do not choose ‘Heading 1’. A post should only have one H1 heading and that is the title. WordPress creates the H1 tag automatically for you, so unlike subheadings, there’s no need to do it manually. If you do create a second H1 subheading, it could confuse the search engine about the content on your page – so avoid this.
不要选择“标题1”。 帖子只能有一个H1标题,即标题。 WordPress会自动为您创建H1标签,因此与子标题不同,无需手动进行操作。 如果您确实创建了第二个H1子标题,它可能会使搜索引擎对页面上的内容感到困惑-因此请避免这种情况。
5.开头段落中的关键字 (5. Keywords in the opening paragraph)
In the same way that search engines assume you’ll put the keywords in the title, they also expect to see them in the opening paragraph. The reason for this is that the opening paragraph is usually an introduction that tells the reader what the post is going to be about. If the title is ‘10 Great Packed Lunches School Kids Will Love’ then their algorithms will search the opening paragraph for a mention packed lunches.
与搜索引擎假定您将关键字放在标题中的方式相同,他们也希望在开头的段落中看到它们。 这样做的原因是,开头的段落通常是引言,告诉读者帖子的内容。 如果标题是“学校孩子会喜欢的10大盒装午餐”,那么他们的算法将在开头部分搜索提及的盒装午餐。
If the keyword isn’t there, the search engines will presume that ‘packed lunches’ is not the topic you are writing about and are less likely to rank your post for that term.
如果关键字不存在,搜索引擎将假定“包装午餐”不是您要写的主题,并且不太可能为该词排名您的帖子。
6.结束语中的关键词 (6. Keywords in the closing paragraph)
The same logic applies to the closing paragraph. As the last part of the post is usually a conclusion of some kind, there is an expectancy from search engines that, in summing up, you’ll make reference to the topic you are writing about – hence, the algorithms will scan for the keyword.
结束语也适用相同的逻辑。 由于文章的最后部分通常是某种形式的结论,因此,搜索引擎的期望值是,总结起来,您将引用您所写的主题,因此,算法将扫描该关键字。
7.关键字密度 (7. Keyword density)
This is the tricky one. Keyword density refers to the ratio of your keywords to the overall length of the piece. A search engine will assume that, if your keyword is the central topic of your post, it will keep getting referred to throughout. Use it too sparingly and it could signal that your post might be about a different subject. However, be warned: use your keyword too much and search engines will start to think you are using a black hat SEO technique called keyword stuffing in order to help you rank artificially – this can cause you to get penalised.
这是一个棘手的问题。 关键字密度是指关键字与作品总长度的比率。 搜索引擎会假设,如果您的关键字是您帖子的主题,它将始终被人们引用。 过于谨慎地使用它,可能表示您的帖子可能与其他主题有关。 但是,请注意:过多使用关键字,搜索引擎将开始认为您正在使用被称为关键字填充的黑帽SEO技术,以帮助您人为地进行排名-这可能会使您受到惩罚。
8.用Yoast检查内容 (8. Check the content with Yoast)
One of the brilliant things about Yoast is that after you have written the content and specified your primary keyword, it analyses the post for you, tells you what you have done well and shows you where you need to make SEO improvements. See the image below:
Yoast的杰出之处之一是,在编写内容并指定了主要关键字之后,它会为您分析帖子,告诉您您做得不错,并向您展示需要进行SEO改进的地方。 见下图:

9.将关键字放在元描述中 (9. Put the keywords in the meta description)
Using the Yoast SEO plugin, you can create a bespoke meta description which is used by search engines to consider the relevancy of your post. It can also be displayed underneath the title in search engine results. This too should contain the keyword that your post wants to rank for. Just like the title, it should also be written to catch the attention of the reader.
使用Yoast SEO插件,您可以创建一个定制的meta描述,搜索引擎可以使用它来考虑您的帖子的相关性。 它也可以显示在搜索引擎结果的标题下方。 这也应包含您的帖子要排名的关键字。 就像标题一样,它也应该引起读者的注意。

10.不要忘记优化您的图像 (10. Don’t forget to optimise your images)
Finally, you should also include the keyword in at least one of the alt tags for your images. This is simple to do. Click on the image in your visual editor and select the pencil (Edit) icon that appears underneath. When the dialogue box opens, write a short description of the image, including the keyword, in the ‘Alternative Text’ box and click save.
最后,您还应该至少在图片的alt标签之一中包含关键字。 这很容易做到。 在视觉编辑器中单击图像,然后选择显示在下方的铅笔(编辑)图标。 对话框打开时,在“替代文本”框中写下图像的简短描述,包括关键字,然后单击“保存”。
Doing this means your images will also be optimised for the keywords. This will help the post rank for the keywords and may even help people find your post by searching for related images.
这样做意味着您的图片也将针对关键字进行优化。 这将有助于关键字的帖子排名,甚至可以帮助人们通过搜索相关图片来找到您的帖子。

结论 (Conclusion)
Reading this post should have given you a much more precise idea of how to carry out on-page SEO for your WordPress posts. You should have a better understanding of how to optimise titles and subheadings, content, meta descriptions and images. In addition, you will have seen how the plugin Yoast SEO can be helpful in ensuring that your on-page optimisation fulfils the criteria required to give your post the maximum chance of being ranked.
阅读这篇文章应该为您提供关于如何对WordPress帖子执行页面SEO的更精确的想法。 您应该对如何优化标题和副标题,内容,元描述和图像有更好的了解。 此外,您还将了解Yoast SEO插件如何帮助确保页面优化达到使帖子获得最高排名的必要条件。
If you are a WordPress user looking for dedicated WordPress web hosting, visit our WordPress Hosting page and see what we can do for you.
如果您是正在寻找专用WordPress虚拟主机的WordPress用户,请访问我们的WordPress托管页面,看看我们能为您做什么。
wordpress优化