Title: GSC issues
Last modified: July 15, 2025

---

# GSC issues

 *  Resolved [turtlegit](https://wordpress.org/support/users/turtlegit/)
 * (@turtlegit)
 * [1 year ago](https://wordpress.org/support/topic/gsc-issues/)
 * The image sitemap has issues in GSC that are present on all images.
 * Parent tag:
 * url
 * Tag:
 * lastmod
 * It has something todo with the dates of the images. I don’t think it has an issue
   with the format.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgsc-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [turtlegit](https://wordpress.org/support/users/turtlegit/)
 * (@turtlegit)
 * [1 year ago](https://wordpress.org/support/topic/gsc-issues/#post-18556493)
 * I tried changing the date formate to Y-m-d instead to see if its a format issue,
   doesn’t seem to be the case. I think maybe its the image+ that google is seeing.
   I think this conflict with the date being a valid W3C date format.
 *  Thread Starter [turtlegit](https://wordpress.org/support/users/turtlegit/)
 * (@turtlegit)
 * [1 year ago](https://wordpress.org/support/topic/gsc-issues/#post-18556568)
 * if ( $lastmod ) { echo ‘<lastmod>’ . $media_type .’+’. esc_html( $lastmod ) .‘
   </lastmod>’; }
 * Think this has to be;
 * echo ‘<lastmod>’ . esc_html( $lastmod ) . ‘</lastmod>’;
 * if you do this, it removes the if and elseif statements to add ‘image’ and or‘
   video’ to the sitemap.
 * Google then accepts the sitemaps in GSC.
 *  Plugin Author [Harpalsinh Parmar](https://wordpress.org/support/users/developer1998/)
 * (@developer1998)
 * [1 year ago](https://wordpress.org/support/topic/gsc-issues/#post-18577637)
 * Hello @turtlegit,
 * Thank you for downloading our plugin and providing us with your valuable feedback!
 * We do apologize for responding late to your concern. We owe you gratitude for
   the patience you’ve exercised. Please rest assured we do acknowledge the problem
   you raised and we will try to fix it in our next release.
 * We do acknowledge your contributions, and we appreciate your support. If our 
   plugin has been beneficial, do share your good thoughts – it motivates us.
 * We are thankful to you for being part of our journey!
 * Warm regards,
   Harpalsinh Parmar(Image & Video XML Sitemap)
 *  Plugin Author [Harpalsinh Parmar](https://wordpress.org/support/users/developer1998/)
 * (@developer1998)
 * [1 year ago](https://wordpress.org/support/topic/gsc-issues/#post-18584159)
 * Dear [@turtlegit](https://wordpress.org/support/users/turtlegit/),
 * I’m pleased to inform you that the plugin issue you reported has been successfully
   resolved. I’ve completed the necessary fixes and thoroughly verified the functionality
   to ensure everything runs smoothly across relevant conditions.
 * Thank you for your prompt feedback and continued trust in our work. If you have
   any further questions or enhancements in mind, feel free to reach out – I’m always
   here to support your goals.
 * Best regards,
   Harpalsinh Parmar(Image & Video XML Sitemap)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘GSC issues’ is closed to new replies.

 * ![](https://ps.w.org/image-video-xml-sitemap/assets/icon-256x256.png?rev=3586833)
 * [Image & Video XML Sitemap](https://wordpress.org/plugins/image-video-xml-sitemap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-video-xml-sitemap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-video-xml-sitemap/)
 * [Active Topics](https://wordpress.org/support/plugin/image-video-xml-sitemap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-video-xml-sitemap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-video-xml-sitemap/reviews/)

## Tags

 * [video sitemap](https://wordpress.org/support/topic-tag/video-sitemap/)

 * 4 replies
 * 2 participants
 * Last reply from: [Harpalsinh Parmar](https://wordpress.org/support/users/developer1998/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/gsc-issues/#post-18584159)
 * Status: resolved