且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Yoast SEO插件不能识别Wordpress模板的内容

更新时间:2023-12-01 23:24:10

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.