Search & SEO

Srikanth N asked on November 3, 2017 04:02

Hi,

If we check exclude from search in navigation section of a page will hide the page from search engines as well as smart search?

Recent Answers


Brenden Kehren answered on November 3, 2017 04:23

The exclude from search will remove them from the search index as well as put a no index, no follow meta tag for bots in the header of the page.

So technically speaking it won't exclude it from external searches but it will tell the bots to not search it.

0 votesVote for this answer Mark as a Correct answer

Srikanth N answered on November 3, 2017 05:46

Hi Brenden,

Thanks for the clarification.


In my case we have a custom index, that allow several page types. So if i check exclude from search in the allowed page type then smart search will consider both of them?


I mean in smart search we said to allow a page type (cms.menu) and we created a page with this page type and we check exclude from search in navigation properties. Then is this page will display in smart search results?

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on November 3, 2017 08:58 (last edited on November 3, 2017 08:59)

Unless you've done something custom, hide from navigation has nothing to do with search.

If you create a custom index you do the rebuilding of the Index yourself. You've written a Rebuild method, so you determine the rules for adding or excluding pages.

As described in the documentation here: https://docs.kentico.com/k10/custom-development/miscellaneous-custom-development-tasks/smart-search-api-and-customization/creating-custom-smart-search-indexes#Creatingcustomsmartsearchindexes-Writingthecustomindexcode

0 votesVote for this answer Mark as a Correct answer

Srikanth N answered on November 3, 2017 12:06

Hi David,

When we check the "Exclude from search" field in navigation, then also the page is appearing in smart search results.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on November 3, 2017 12:57

Have you've checked the code of your custom index. You've written a Rebuild method, so you determine the rules for adding or excluding pages.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.