3M汽车膜社区 - 汽车膜社区,玻璃膜,隔热膜,太阳膜,防爆膜,改色膜,漆面保护膜

 找回密码
 立即注册
查看: 173|回复: 0

[车膜知识] Google Search Console Hentry Errors on WordPress Sites

[复制链接]

1

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2024-3-5 18:32:24 | 显示全部楼层 |阅读模式
People who check their website health through Google Search Console have encountered the structured data option. In the structured data option, there is a section called “hentry (markup: microformats.org)”. The relevant section is where the problems related to the hentry data structure are listed. Many of you may be encountering the concept of hentry for the first time. That's why I will first discuss in depth what the concept of hentry is. I must say in advance that if you have a WordPress-based website, you can get rid of hentry errors more easily than with other software. What is Hentry? According to the definition by Microformats.org, hentry is a root class name that indicates the presence of an hAtom entry. hAtom is a microformat designed to describe semantic information in articles. Search engine spiders need a lot of information such as title, content, author name, publication date to crawl and index an article.

The hentry information defined on the website contains this information necessary for search engines and enables search engine spiders to crawl more easily. The generally accepted hentry Chinese UK Phone Number List scheme is as follows. entry-title. (Required) entry-content. (Optional) entry-summary. (Optional) updated. (Required) published. (Optional) author. (Required) bookmark. (Optional) tag. (Optional) If you examine the diagram above, articles must have a title, author and publication date. If these are not specified as hentry, errors will occur on Google Search Console. What are the Benefits of Fixing Hentry Errors? Hetry is in the structured data class. Structured data used on websites allows search engine spiders to better understand your website content.



Hentry additions will not make websites rank better, but they will make it easier for users to understand your content. If you do not correct hentry errors for one reason or another, you will not experience any ranking loss. These edits you make will help users understand the content better. How to Fix Hentry Errors on WordPress Sites If you are getting a Hentry error and want to get rid of this error easily, all you have to do is to remove the element that causes the error from the source code. Adding the code below to the functions.php file of your WordPress theme will eliminate hentry errors. add_filter( 'post_class', 'remove_hentry' ); function remove_hentry( $class ) { $class = array_diff( $class, array( 'hentry' ) ); return $class; } There will also be those who want to fix errors without removing them.

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|3M汽车膜社区

Copyright © 2012-2021 3M汽车膜社区. All Rights Reserved.