[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

[Rank Math SEO Plugin] Hiding dates on Google search results


wisenilesh
 Share

Recommended Posts

  • Support

Hello,

Thank you for contacting MyThemeShop today.

You can use below filter code to remove the dates added by our plugin:

add_filter( 'rank_math/opengraph/facebook/article_published_time', '__return_false' );
add_filter( 'rank_math/opengraph/facebook/article_modified_time', '__return_false' );
add_filter( 'rank_math/opengraph/facebook/og_updated_time', '__return_false' );

Looking forward to helping you. Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin.

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

  • Support

Hello,

No, that is manipulation and should not be done.

That plugin updates the published/last updated date of a post, and without updating the content of a post, Google might penalize a website.

Hope that helps. If you have any further question(s), please let us know. Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

  • Support

Hello,

We would need the name of the theme you are using so we can provide the code accordingly.

Please stay advised that if you are using a 3rd party theme, you would need to ask the theme's author to provide you the code to remove the dates from the single posts. Do not hide them with just CSS, remove them using a PHP function/filter.

Looking forward to helping you. Thank you.


🏁Rank #1 on Google With our WordPress SEO Plugin

Score a 💯on PageSpeed and Dominate Search Rankings.

✏ Editing theme files? Please create a child theme to make your changes update-proof.

Link to comment
Share on other sites

Hello,

Please open the theme options panel and disable these options:

Theme Options >> General Settings >> Meta Info to Show (Disable date in this option)
Theme Options >> Single Posts >> Meta Info to Show(Disable date in this option)
Theme Options >> Single Posts >> Date in Comments (Select 'Off')

These options will remove all the instances of dates from your website and after a couple of days, when Google crawls your website, the date should be removed from the search results.

Please stay advised, it is up to Google to decide whether they honor the request of removing the dates or not as Google's bots can always check the last updated date from the Sitemaps.

Hope this helps. Thank you.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...