• Resolved Ana-Maria

    (@hummy2601)


    Is there a way to hide post dates from Google so they don’t show up in search results? Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi there,
    you will need to remove them from your posts also.
    So open single.php and entry-content.php, content-entry-widget.php and remove
    <time class="entry-date" itemprop="datePublished" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time>
    from inside.
    Try installing the WP Editor plugin to enhance the default editor and then navigate to the /themes/olsenlight/ folder to find the file.
    If you decide to proceed with this modification I would suggest you create a child theme, copy over the files you are editing and make the modifications there. This will allow your changes to survive future theme updates. If you directly edit the theme’s files, all changes will be lost once you update.

    Have a look at this guide to learn more about child themes and how to create one
    https://www.cssigniter.com/ignite/beginners-guide-child-themes/

    Thread Starter Ana-Maria

    (@hummy2601)

    I’ve made the changes and hope it’ll work. I don’t know how long it will take to see the changes in Google results. Thank you for the theme and for the support!

    Hi there,
    you can change the Google Bot Crawl rate following this article here https://support.google.com/webmasters/answer/48620?hl=en

    Let me know if this helps.

    Thread Starter Ana-Maria

    (@hummy2601)

    I followed the instructions and set the crawl rate to maximum. The change in crawl rate will begin within 2 days. I’ll let you now how it goes. Thanks again!

    You are welcome.

    Thread Starter Ana-Maria

    (@hummy2601)

    It’s working. Slowly, but it does. I still see some posts with dates in the results but the majority of them were removed. Thanks again!

    Glad I could help!
    At some point they will all be removed. If you still experience problems on this or If you get stuck somewhere I will be happy to help out.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove post dates from SERP’ is closed to new replies.