Why the timezone in sitemap is showing +5:00 when in wp setting it's +5:30

#13391
  • Resolved Rohit Singh
    Rank Math free

    I’ve activated the sitemap option but it is showing the wrong timezone. My timezone is +5:30 but in my sitemap it is showing +5:00 in my sitemap. Is this a bug??

    • This topic was modified 5 years, 3 months ago by Rohit Singh.
Viewing 15 replies - 1 through 15 (of 18 total)
  • Hello,

    Thank you for contacting Rank Math today.

    No this is not a bug, the sitemaps are generated in UTC timezone.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Indian UTC timezone is +5:30 not +5:00 sir.

    Hey Michael. Can you please reply here.

    Hello,

    Apologies for the delay.

    The plugin will automatically calculate the last modified time in UTC based on different parameters. You can test the difference by installing a different XML plugin and you will see that the last modified time is the same.
    For example, the Google XML sitemaps plugin will display the time in GMT and this is the same as that displayed by Rank Math +5.00.

    I hope this info helps. Thank you.

    So tell me how can some websites sitemap are showing +5:30 even they are also using rank math seo plugin to generate sitemap. Someones sitemap is showing +5:30 & mine is showing +5:00. Both websites are from india than how and why it is showing different timezone for different websites?

    • This reply was modified 5 years, 3 months ago by Rohit Singh.
    • This reply was modified 5 years, 3 months ago by Rohit Singh.

    Hello,

    Sorry for the confusion.

    The time of the Sitemap is picked from the website’s settings.

    Please check the timezone set in here:
    WP Dashboard > Settings > General
    /wp-admin/options-general.php
    timezone in wordpress

    If they are set as you desire, then please ask the hosting guys to confirm if the timezones set are correct on both the servers.

    Looking forward to helping you.

    My timezone in wordpress general setting is already +05:30

    But even after that i my sitemap is showing +05:00. If you want i can share my wp general setting screenshot.

    Here is the screenshot of my general settings and sitemap

    Iif you can’t see the picture here is the link of my wordpress general settings : https://ibb.co/SN5D9V5

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I’ve added the sensitive data as you have asked me.

    Hello,

    Are you using numerical timezone in both the sites? It looks like numerical timezones are broken in WP core: https://core.trac.wordpress.org/ticket/34835

    Although this issue was fixed in WP v5.1, there still seems to be having some problem. For now, I’ve selected Kolkata in the Timezone settings on your site. The Sitemap is now showing the correct timezone i.e +05:30

    Hope that helps. Thank you.

    Thank you for your help to sort out this issue.

    May i know how can i get it fixed in my 2nd website by myself?

    • This reply was modified 5 years, 3 months ago by Rohit Singh.

    Hello,

    You can simply select Kolkata in the Timezone settings on your site.

    That should resolve the issue.

    Please let us know if that helps.

    Thank you.

Viewing 15 replies - 1 through 15 (of 18 total)

The ticket ‘Why the timezone in sitemap is showing +5:00 when in wp setting it's +5:30’ is closed to new replies.