# How to remove the date from search engine and also how to improve the meta title

**URL:** <https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724>\
**Category:** HivePress\
**Created:** [May 31, 2026, 3:42pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724 "2026-05-31T15:42:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![shah.abhishek07](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@shah.abhishek07](https://community.hivepress.io/u/shah.abhishek07)\
**Post date:** [May 31, 2026, 3:42pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/1 "2026-05-31T15:42:45Z")

</div>

![image](https://community.hivepress.io/uploads/default/original/2X/f/f950577af6df8eea8a241594a839043f16b483c9.png)

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [June 1, 2026, 12:16pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/2 "2026-06-01T12:16:51Z")

</div>

Hi,

Could you please let us know if you’re using any SEO plugin or similar tool?

You can also use the following snippet to remove the creation date that HivePress outputs in the HTML

```auto
add_filter(
	'hivepress/v1/templates/listing_view_page',
	function( $template ) {
		hivepress()->template->fetch_block( $template, 'listing_created_date' );

		return $template;
	},
	1000
);

```

If you’re seeing the `datePublished` and `dateModified` values in HTML, these are part of the structured data (Schema) added by the Rank Math plugin. In this case, the dates are not coming from HivePress, but from the schema markup generated by Rank Math.

If you’re using SEO tools, there is usually an option to configure or override meta titles, descriptions, and other structured data settings directly within the plugin.

---

<div class="post-metadata">

**Author:** ![shah.abhishek07](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@shah.abhishek07](https://community.hivepress.io/u/shah.abhishek07)\
**Post date:** [June 3, 2026, 4:31pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/3 "2026-06-03T16:31:37Z")

</div>

Yes, I am using Rank Maths plugin

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [June 4, 2026, 10:14am UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/4 "2026-06-04T10:14:44Z")

</div>

Thanks for the details.

Please try the snippet above to remove the creation date output by HivePress.

If the date is still visible after reindexing, I would recommend reaching out to the Rank Math support team. In that case, the date is likely coming from the `datePublished` and `dateModified` values.

They should be able to advise you on the best way to remove or adjust these values if needed.

---

<div class="post-metadata">

**Author:** ![shah.abhishek07](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@shah.abhishek07](https://community.hivepress.io/u/shah.abhishek07)\
**Post date:** [June 5, 2026, 4:02pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/5 "2026-06-05T16:02:07Z")

</div>

Ok Thank you.

---

<div class="post-metadata">

**Author:** ![shah.abhishek07](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@shah.abhishek07](https://community.hivepress.io/u/shah.abhishek07)\
**Post date:** [June 11, 2026, 4:34pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/6 "2026-06-11T16:34:12Z")

</div>

The code didnt worked.

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [June 12, 2026, 6:53am UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/7 "2026-06-12T06:53:24Z")

</div>

Hi,

Could you please clarify what you mean when you say the code didn’t work? Do you mean that the publish date inserted by HivePress is still visible in the code, or is there something else happening?

Also, have you had a chance to contact RankMath support regarding their datePublished and dateModified values? They may be able to provide more specific guidance on their end.

---

<div class="post-metadata">

**Author:** ![shah.abhishek07](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@shah.abhishek07](https://community.hivepress.io/u/shah.abhishek07)\
**Post date:** [June 18, 2026, 5:14pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/8 "2026-06-18T17:14:54Z")

</div>

I want to remove the date from the search engine. I have implemented the code, but it showing an error and it does not worked. I also check the setting in rank maths, I am unable to located this datePublished and dateModified values in rank maths particulary for listing but found the script.

> ```auto
> add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) {
> unset( $entity['dateModified'] );
> unset( $entity['datePublished'] );
> return $entity;
> });
> 
> ```

---

<div class="post-metadata">

**Author:** ![shah.abhishek07](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@shah.abhishek07](https://community.hivepress.io/u/shah.abhishek07)\
**Post date:** [June 18, 2026, 5:15pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/9 "2026-06-18T17:15:35Z")

</div>

![image](https://community.hivepress.io/uploads/default/original/2X/2/281573235cf5194e5e0fd1ef92bd73a66883f1c4.png)

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [June 22, 2026, 8:59pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/10 "2026-06-22T20:59:43Z")

</div>

Hi,

Have you contacted RankMath support regarding this issue? Since `dateModified` and `datePublished` are not part of the HivePress code, we’d suggest reaching out to their support team as they should be able to help you remove it.

---

<div class="post-metadata">

**Author:** ![shah.abhishek07](https://community.hivepress.io/letter_avatar_proxy/v4/letter/s/50afbb/32.png) [@shah.abhishek07](https://community.hivepress.io/u/shah.abhishek07)\
**Post date:** [June 24, 2026, 3:56pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/11 "2026-06-24T15:56:51Z")

</div>

Ok. Thank You.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [July 24, 2026, 3:57pm UTC](https://community.hivepress.io/t/how-to-remove-the-date-from-search-engine-and-also-how-to-improve-the-meta-title/17724/12 "2026-07-24T15:57:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
