Including Welcome Pages in the search scope in SharePoint Web Content Management solutions

, , , ,

When using SharePoint search in a Web Content Management (WCM) solution you are very likely to create your scope which will include Publishing Pages only. As other pages like Application Pages and Lists' Forms are not accessible by anonymous visitors you don't want them to appear in the search results on the public site. While creating what I call a 'public scope' is rather straight-forward there is one thing you have to keep in mind to make it work as expected.

To create a search scope for use on an Internet-facing website, you need to create either a Shared or Site search scope with the contentclass = STS_ListItem_850 rule. By including this rule you will tell the search scope to include List Items of the Document Library of type 850 (Pages Library). As soon as you compile the scope and start searching you might notice that there are no results from any of the Welcome Pages included.

While running similar search query using the All Site Content scope I have found out that the Welcome Pages are of type Site instead of Document. It's rather odd knowing that they are Publishing Pages as well. In order to include Welcome Pages in your public search scope you need to add extra rule: contentclass = STS_Web.

Configuring rules for a search scope used on an Internet-facing website in MOSS 2007

Possibly related posts

7 Responses to “Including Welcome Pages in the search scope in SharePoint Web Content Management solutions”

  1. YPG@SG Says:

    Thanks for the article, and the info about Image Editing tool!

  2. Iver Says:

    Hi

    Great stuff. However, this rule only seems to work on the content of the welcome page. I want to access some custom added metadata attached to the welcome page through a mapped metadata property. Have you any idea how to do this?

  3. Waldek Mastykarz Says:

    Hi Iver,

    I haven't worked with search that much myself. On one hand I wouldn't suspect it to work any different than using custom properties on any other page…
    Have you tried SharePoint MSDN forums? There is a bunch of great guys there helping out people with problems like yours. There is even a whole special section about search. You should definitely give it a try.

  4. Andrew Jolly Says:

    Waldek, thanks a stack for your post on this, I don't know how you found this solution but whatever time you put into this is very much appreciated. I've seen some of the complex workarounds people have done to achieve this and what a headache. Keep up the great posts.

  5. Waldek Mastykarz Says:

    @Andrew: Great to hear I could help. Thank you: I appreciate it :)

  6. Search Front Pages | Halwsa.Net Says:

    [...] the Front Pages From The Searchto be able to include them you need to add the following ruleshttp://blog.mastykarz.nl/including-pages-search-scope-sharepoint-web-content-management-solutions/ Categories: SharePoint Tags: Deployment, Moss, Search, SharePoint Comments (0) [...]

  7. Search Front Pages | Abdel-Rahman.IT Says:

    [...] By Default Exclude the Front Pages From The Search to be able to include them you need to add the following rules Categories: SharePoint Tags: Deployment, Moss, Search, SharePoint Comments (0) [...]

Leave a Reply

Security Code:

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS
Copyright © 2007 - 2010 Waldek Mastykarz

Creative Commons License