i need article publish date hidden or remove in google search

#1037009
  • Resolved Shreemla
    Rank Math free

    i need article publish date hidden or remove in google search result. but date i need on article inside

Viewing 1 replies (of 1 total)
  • Hello,

    We apologize for the issue you are facing regarding the visibility of your article’s publish date in Google search results. To hide or remove the publish date from appearing in search results while keeping it visible within the article itself, you can follow these steps:

    1. Remove Dates in the Content

    • Edit your posts/pages to remove any visible dates that you have added.
    • Ensure that there are no dates present in the content that could be picked up by search engines.

    2. Remove Dates in Structured Data

    You can modify the structured data to prevent Google from displaying the publish date:

    • If you have Rank Math installed, you can use the following filter to remove the datePublished and dateModified properties from your structured data:
      add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) {
      unset( $entity['dateModified'] );
      unset( $entity['datePublished'] );
      return $entity;
      });

    3. Remove Dates in Open Graph Metadata

    To ensure that dates are not included in Open Graph metadata, which can also be accessed by search engines, use this filter:

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

    Additional Considerations

    • After making these changes, it may take some time for search engines to update their results.
    • You can refer to our detailed guide on removing dates from search results for more information.

    If you would like comprehensive assistance with setting this up correctly, we recommend our professional setup service available at Rank Math Services. This service requires a PRO subscription and ensures your plugin setup adheres to the latest SEO standards.

    Thank you for raising this concern! If you have any further questions or need additional help, please reply to this ticket, and a human agent will assist you further.

    Sources:
    How to Remove Date Snippets from Search Results » Rank Math

    This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘i need article publish date hidden or remove in google search’ is closed to new replies.