Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

I want to prevent certain pages from being indexed and appear in search results.

Solution

You can add data-sj-noindex anywhere in a page and it will not be indexed. Most commonly this will be defined in the header of an HTML page as follows:

  1. Locate the <header> tag of the page you want to prevent from being crawled.

  2. Add the following code within the header:
    <meta name="robots" content="noindex" data-sj-noindex />

  3. Save the changes. The crawler will ignore this page next time it comes across it.

Additionally you can use crawling rules to programmatically exclude sections or certain pages of your web site. You can also set individual pages to not be indexed from the data sources tab of the admin Console.

Image RemovedImage Added
Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
showSpacefalse
sorttitle
typepage
reversetrue
labelscrawler
cqllabel = "crawler" and type = "page" and space = "KB"
Documentation

Advanced crawler documentation

Page Properties
hiddentrue

Related issues