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

Host Audio File in Google Drive & Embed it on Website

Many websites like Soundcloud and Reverbnation use image hosting and are large platforms of Sound Hosting websites. But you can…

Read Story

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