在SEO检查中无法识别H1和H2标题。角

问题描述 投票:2回答:1

我在使用Angular 5制作的网站时遇到麻烦。即使我有H1和H2标题,在每个SEO检查器中都会出现此错误:您的页面不包含任何H1标题

angular seo html-heading
1个回答
2
投票

你需要使用角度通用。没有它,所有html(h1,h2,content,...)都是动态地添加到客户端,这意味着搜索引擎和其他机器人看不到它们

https://github.com/angular/angular-cli/wiki/stories-universal-rendering

© www.soinside.com 2019 - 2024. All rights reserved.