Jump to content

How to manage indexing of specific pages


Tech Support

Recommended Posts

KVS doesn't provide any specific GUI controls to manage indexing, as it is not virtually possible due to very custom theme structure. However you can get everything you need with a very few fixes.

 

Step 1. First of all you need to add noindex tag into site header template. Go to Website UI -> Page components -> include_header_general.tpl and add the following code somewhere inside its <head> section:

{{if $page_noindex=='true'}}
 <meta name="robots" content="noindex" />
{{/if}}

This code check if there is a page variable named page_noindex and it is equal to true, then this page should not be indexed by SE.

 

Step 2. Set page_noindex variable anywhere you want this page to be not indexable:

{{assign var="page_noindex" value="true"}}

somewhere in page template around these values (the example is from Index page):

index_page_variables.png.519147a5d75300759806a0474bffd32e.png

 

How do you find where to add it?

  • If you have KVS 5.3.0 or above, you should be able to see KVS Admin Toolbar at the bottom of each page and you can open page editor right from the toolbar menu.
  • If your KVS version doesn't support toolbar yet, just add ?debug=true to the URL you are looking at and it should open debugger that will print link to open page editor.
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...