Hi,
How do you prevent pages from being Indexed that haven’t been published?
I have created a page and it instantly Indexes in FIND even though the page isn’t published – this is EPiServer 7.5.
I have added this to my Application_Start
ContentIndexer.Instance.Conventions.ForInstancesOf<PageData>().ShouldIndex(x => x.Status == VersionStatus.Published);
ContentIndexer.Instance.Invisible = false;
And it still publishes the page.
Any ideas?
Jon