Yoast SEO插件不能识别Wordpress模板的内容 [英] Yoast SEO Plugin not recognising content from the Wordpress Template

查看:513
本文介绍了Yoast SEO插件不能识别Wordpress模板的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开发了一个Wordpress网站,并使用模板本身的所有内容。并且WP管理员的所有页面和帖子字段是空的缺乏内容。

I have developed a Wordpress website recently and used all the contents in the template itself. And all the pages and posts fields of WP admin is empty lacking content.

所以我的内容存在于我的模板中,而不是在post和pages字段中。

So my content is present in my template and not in the post and pages field.

我在这个网站上使用Yoast SEO,并且在WPadmin中检查页面时。没有内容被识别,因此我的SEO得分非常低。但我的内容存在于模板中,将显示在live也。

I used Yoast SEO for this website and when checking with pages in WPadmin. No content is recognized and thus my SEO score is very low. But my content is present in the template which will be displayed in live also.

示例:我要优化首页,让内容与模板本身一起显示300个字。没有当我使用Yoast插件,它不能识别模板的内容,并说:主页中的内容量很少像这样。

Example: I want to optimize home page and let the content be 300 words present along with template itself. No when i use Yoast plugin it is not recognizing the content from the template and says: " there is low volume of content in the home page" like this.

任何人都可以建议我解决这个问题。

Can any one suggest me in solving this.

感谢

推荐答案

Yoast SEO只能给你一个分数对它可以读取的数据库内容。话虽如此,只是因为Yoast SEO看不到你的内容并不意味着搜索引擎不能。不幸的是,除非你把你的内容从模板和WordPress,你的Yoast得分永远不会改善。

Yoast SEO can only give you a score based on DB content that it can read. That being said, just because Yoast SEO can't see your content doesn't mean that search engines can't. Unfortunately, unless you get your content out of the template and into WordPress, your Yoast score will never improve.

我建议(如果可能的话)内容到WordPress。将内容硬编码为模板文件并不是最佳做法。如果您的专业内容无法在所见即所得地区工作,请考虑使用自定义字段。

I'd recommend (if possible) to try to get that content into WordPress. It's just not best practice to hard-code content into template files. Consider using Custom Fields if you have specialized content that won't work in the WYSIWYG.

这篇关于Yoast SEO插件不能识别Wordpress模板的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆