Showing results for 
Search instead for 
Did you mean: 

Remove a visible product from sitemap.xml

Remove a visible product from sitemap.xml

Is there a way to remove a product from sitemap.xml via xml code?

If I set Visibility to Not Visible individually product is not added to sitemap.xml but the product is not visible on frontend.


Re: Remove a visible product from sitemap.xml

I do not believe there's a built in way to hide a product from the sitemap without also removing it from the site. You will probably need some custom code to modify sitemap generation to exclude products specifically or through some shared attribute value. There may be an extension to help you if you don't mind purchasing and experimenting with one of those. For example: (I haven't used this extension vendor so this isn't a recommendation). 


There are a few options on the marketplace that look they might be able to do it:

If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!