Forum Discussion

Fábio Carvalho's avatar
Fábio Carvalho
Copper Contributor
Jul 16, 2017

How to apply Crawl Rules just for a specific Web Application

Hey Everyone, 

 

I would like to know if is possible create Crawl Rules for a secific Web Application.

 

I created a several rules like:

        <Rule URL="*://*/_catalogs/*" Type="ExclusionRule" />

        <Rule URL="*://*/_vti_bin/*" Type="ExclusionRule" />

        <Rule URL="*://*/AllItems.aspx*" Type="ExclusionRule" />

        <Rule URL="*://*/DispForm.aspx*" Type="ExclusionRule" />

 

But, i just what that rules are appling on a specifque web application and not for all. 

 

This is possible? How can i do it? 

(SharePoint 2010 Version)

 

Thanks

Fábio Carvalho

 

 

1 Reply

  • Tom Jamed's avatar
    Tom Jamed
    Brass Contributor

    I don't currently have a SharePoint 2010 enviornment to test on but this may be achievable through regex queries which SharePoint 2010 supports.

     

    A blog post found http://tutorial.wmlcloud.com/windows_server/Sharepoint-2010---Configuring-Crawls-%28part-2%29---Creating-and-Managing-Crawl-Rules.aspx covers it a lot better than what I could write into a post. Hope you find some value with this.