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

The Best Websites to Learn Coding Online in Pakistan

Pakistan is now playing an impotent role in the developing field of IT. Many students starts their work by becoming…

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

How to Capture ID in CSS Selector in Html

When I tried to build the table and tried to add colors, I encountered some problems. In Wiz Wiz I…

Read Story