Jump to content

How do I prevent Google from indexing archive, category, and tag pages?

Recommended Posts

Site URL: https://www.cottoncashmerecathair.com/

I have discovered via search console that Google is indexing my archive pages, categories, and tags over individual blog posts, which means my site is not showing up in search results when it should be. How can I tell Google not to index those pages and instead index the blog posts? I read in other posts here that you can inject code, but how do I inject code for pages that aren't in my navigation? I also know about canonical links but they confuse me; is that something I do in search console? How does one go about setting those? Any insight/tips would be much appreciated!

Link to comment

UPDATE : SS has built-in settings for this. Use those instead of the code cited here.

I don't know for sure if the following will work and it requires the business plan or above.

It may not work as we have no control over how Google indexes pages. We can only suggest that pages not be indexed. Weather this works depends on if Google runs this Javascript before it indexes the page. My reading suggests that Google may but again. We can't control what Google does.

Please see Blog Non-Post Pages Meta Noindex Tag Add.

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.