tasmina01711@gm 发表于 2024-3-5 18:32:24

Google Search Console Hentry Errors on WordPress Sites

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.

http://wsdatabasein.com/wp-content/uploads/2024/03/Chinese-UK-Phone-Number-List-to.jpg

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.

页: [1]
查看完整版本: Google Search Console Hentry Errors on WordPress Sites