Source Filter seemingly not Filtering - Exclusion Filter
I've attempted to create an Exclusion filter to remove an entire sub page/directory from being indexed. Unfortunately I've not been successful using either of the Exclusion filter types, Wildcards or Regular Expression.
I've attempted to type it, create one via the Index Browser using the Collection -> Source -> Folder tree then Folder Actions to Add an exclusion filter with my desired dir checked off.
An example of the thing I'm attempting to exclude is: http://www.mywebsite.com/site website/database one/sitecore/content/home/pleasedontindex/something/ok.aspx
My Wildcard Filter: http://www.mywebsite.com/site website/database one/sitecore/content/home/pleasedontindex/* As I understand it, this should not index anything under the "pleasedontindex" dir.
My RegEx Filter: (\/please(?:dont|DONT)index\/) As I understand this, anything that matches this patter it won't index. So all files under that dir including the dir itself.
What am I missing there? Did I setup something incorrectly?
Thank you kindly, Adam
Normal filters with the Sitecore 2 connector are based on long URL, to see what I am talking about:
1- Go to Index Browser
2- Search for an item to exclude
3- Click on Action
4- Click on Add an Exclusion Filter
Then go take a look at the Exclusion tab and you will see the type of URL on which we filter. If you need to filter out a whole path, you will need to use a conversion script: