Re: About No indexing My pages.

About No indexing My pages.

smokemega2020
Visitor
1 0 1

My Collection pages have Pagination at a time. But I turn it into infinite Scroll. Now the Problem was My paginated page was indexed. And I use So many types of code to Noindex them but I failed. I need to No-index them quickly.

 

Help Me Please.

Replies 2 (2)

Moeed
Shopify Partner
7704 2070 2550

Hey @smokemega2020 

 

Here's a clean and effective solution:

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the file below <head> tag

{% if request.path contains '/collections/' and request.query.page %}
  <meta name="robots" content="noindex">
{% endif %}

This will target any paginated collection page (like /collections/shoes?page=2) and tell Google not to index them.

 

If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


SEOAnt-Jeffery
Shopify Partner
249 3 14

Hi @smokemega2020

 

If you intend not to index one related page on the website, you can check this guideline from Google for reference. Please also note here that some search engines might interpret the noindex rule differently. As a result, your page might still appear in results from other search engines.

https://developers.google.com/search/docs/crawling-indexing/block-indexing

An AI-powered all-in-one SEO optimization tool that elevates website rankings, traffic through intelligent keyword analysis and website content optimization.

Official Website | SEOAnt