How to Disable Jetpack image Sitemaps from WordPress

Sarmad Gardezi

Sitemaps are files that list each post and page that should be indexed by search engines like Google or Bing. Jetpack allows you to generate such files in the form of a sitemap.  A sitemap is an XML file, it can be Post / Pages sitemap or an Image sitemap.

In this tutorial, we will learn how you can remove the Jetpack Image sitemap from the WordPress Sitemap list. This will no-index your media files into the Google Search Engine.

The sitemap for Search Engines

Jetpack’s XML sitemap can be accessed at:

The simple sitemap contains posts & pages whereas news-sitemap ping the latest news of your website mostly used by news websites & your website should be approved by google news to use this sitemap.

Remove Jetpack Image Sitemap from WordPress

How to remove Jetpack images sitemap from WordPress website using a simple PHP code in function.php file.

  • Log in to WordPress Website
  • Go to Appearance → Theme Editor
  • Paste the following code in Function.php file
add_filter( 'jetpack_sitemap_image_skip_post', '__return_true' );

This code will disable the Jetpack Image sitemap from your sitemap list. You have to resubmit the sitemap in Google Search Console to update the sitemap.

If you still have an issue you can contact, tweet me.

More great articles

How to Create Rss Feed for HTML & Static Website

Rss Feed plays an Important role in Building Website Audience. Most of the website get their daily audience through Email…

Read Story

Use Formula to Copy Row Dynamically in Google Sheet

This tip is one of the most challenging Tip I've shared but it's worth the effort to learn. The index…

Read Story

Add breadcrumbs in html and Static website

Breadcrumb is the additional navigational structure used to help the users navigate to the up level of the site easily…

Read Story