locked
create content source for a sharepont site only RRS feed

  • Question

  • HI

    i want to create content source for only for a site inside a web application

    Ex:

    webapplication :  http://www.xxx.domaine.com

    i want to create a content source for only a site inside above

    english site:  http://www.xxx.domaine.com/en-us/

    and

    arbic site: http://www.xxx.domaine.com/ar/

    so which below settings i should select?

    Content Source Type :
    SharePoint Sites ? or
    Web Sites ?

    Crawl Settings:

    Select crawling behavior for all start addresses in this content source: 
      
     
    Crawl everything under the hostname for each start address ?
    or
     
    Only crawl the Site Collection of each start address ?



    adil

    Wednesday, September 9, 2015 12:41 PM

Answers

  • Hi adilahmed,

    According to your description, you want to create content source for a site only.

    You should choose SharePoint Sites because the site content is belong to SharePoint.

    Then choose Only crawl the Site Collection of each start address.

    Finally, you should create crawl rules to exclude other sites in the site collection.

    Please follow the steps:
    1.Create the content source with the url:http://www.xxx.domaine.com/ ,choose “SharePoint Sites” and “Only crawl the Site Collection of each start address”.
    2.Click Crawl Rules→new crawl rule, paste the url:http://www.xxx.domaine.com/en-us/* in the Path box, select “Include all items in this path ” and “Crawl SharePoint content as http pages  “,click OK.
    3.Repeat step 2 to make another site: http://www.xxx.domaine.com/ar/* include the crawl.
    4.Click Crawl Rules→new crawl rule, paste the url: http://www.xxx.domaine.com/*

    in the Path box, select “Exclude all items in this path  “,click OK.

    5.Make sure the include rules have the higher priority than the exclude rule.

    Please refer to the link for crawl rules:

    https://technet.microsoft.com/en-us/library/jj219686.aspx

    Hope it will be helpful to you.

    Best Regards,

    Chris

    Thursday, September 10, 2015 10:05 AM