Jump to content

How to Not Index a Blog Page (Remove from Sitemap?)

Recommended Posts

Quote

but if the page is getting traffic from Pinterest or social, I want to keep it around.  Are there any other options?  Code injection perhaps?

Code injection would be the only option. It would require JavaScript and the business plan or above.

A possible solution ignoring Squarespace for a moment, is to put a noindex instruction ( <meta name="robots" content="noindex"> ) in the head element of the page. Squarespace allows code to be added to the head element at the Blog page level but not in specific blog posts. If you put the meta tag in code injection for the Blog page, all pages of the blog would pick that tag up and no pages of your blog would be indexed. So we are left with JavaScript to decide when to insert the meta tag. Also there is the caveat. By using JavaScript the search engine crawlers may or may not pick up the tag inserted by JavaScript. We have no control over what the search engines do.

I'm am unaware of any code that does the above.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

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.