Re: Remove Pages/Collection/Product from Sitemap But Not Google Index

Remove Pages/Collection/Product from Sitemap But Not Google Index

Shamsherkhan
Tourist
10 0 1

I want to remove some pages , collection and products from Sitemap URL: /sitemap.xml

 

But i dont want to use this method suggested everywhere which says use : seo.hidden metafield: with definatin 1

because it set no index. 

 

I want my pages, collection and products just to be removed from sitemap.xml not from Google . it should be set to default index.

 

Let me know if there is a way. 

 

If this solution is not available. please let me know if there is a way to rename default sitemap url which is: /sitemap.xml to something like this /mysitemap.xml

Replies 6 (6)

JoshHighland
Shopify Partner
213 12 76

To my knowledge what you are asking for is not possible. It might be able to achieve your desired result from another angle if you share what you are hoping to accomplish with those changes.

 

sitemap.xml is a helpful way for Google to index your site. Why would you want URLs removed from the sitemap.xml, but still indexed by Google

SEO Manager - The all-in-One SEO solution for Shopify
A powerful suite of SEO tools that gets you found in Google results

- Install SEO Manager -
Shamsherkhan
Tourist
10 0 1

I don't want my competitors to know what all products category i  sale.  it is simple. i do marketing using different methods for those collection products and i don't need to show them anywhere in the website.

INA_MSWEB
Shopify Partner
1281 144 164

Hello,

I am San from MS Web Designer.

Here is the solution!

 

Modify your website's sitemap generation process to exclude specific pages, collections, and products while keeping them indexed by search engines like Google. Implement a custom solution within your sitemap generation script or tool to selectively exclude URLs from the sitemap.xml file. This allows you to control which content appears in the sitemap without affecting their indexing status.

 

If you have any concerns feel free to ask me!

Regards,
San

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: [email protected]
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin

JoshHighland
Shopify Partner
213 12 76

This response sounds like it was AI generated...

You CAN NOT alter how Shopify generates the sitemap.xml (outside of no index)

SEO Manager - The all-in-One SEO solution for Shopify
A powerful suite of SEO tools that gets you found in Google results

- Install SEO Manager -
Shamsherkhan
Tourist
10 0 1

How you can say it is AI Generated , this is what i am facing and looking for my website shamsherkhan.com

JoshHighland
Shopify Partner
213 12 76

Please tell me what tool you are using if you are able to modify https://shamsherkhan.com/sitemap.xml

 

SEO Manager - The all-in-One SEO solution for Shopify
A powerful suite of SEO tools that gets you found in Google results

- Install SEO Manager -