timezone

#618754
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for your query and we are so sorry about the inconvenience this must have caused.

    Please note that we recently changed the sitemap implementation.

    The timezone will now be a constant +00:00, and the post time will be converted to match the +00:00 timezone.

    If you check the posts you’ll see the Last-Modified time has been converted to the UTC timezone. This is the default behavior of the plugin and expected since a recent update.

    You have nothing to worry about and it won’t negatively impact your Site’s SEO.

    Don’t hesitate to get in touch if you have any other questions.

    but i need gmt timezone in sitemap

    Hello,

    In this case, you can edit the Rank Math file via FTP or CPanel’s file manager – wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php

    Then on line 40, change this:
    $date_time = new DateTime( $datetime_string, new DateTimeZone( 'UTC' ) );

    To this:
    $date_time = new DateTime( $datetime_string, new DateTimeZone( 'Asia/Kolkata' ) );

    Once done, please try to clear your sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    Please note that these changes will be overridden by each update and you will have to make the changes again.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    thank you

    Hello,

    We are super happy that we could address your concern.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    how to change google news sitemap timezone

    Hello,

    Please note that this feature is a paid feature and you are opening this ticket with a Free account.

    Can you please let us know the email address you used to make the purchase of the PRO and access to the News Sitemap so we can check and advise further?

    Looking forward to hearing back from you.

    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 7 replies - 1 through 7 (of 7 total)

The ticket ‘timezone’ is closed to new replies.