Friday, November 13, 2009

ASPX page found in search result?

If you turn off feature of aspx page from search results( Never index any ASPX pages on this site ) still you find .aspx page in your search results?

I work a lot regarding this issue. Finally, i compleated this task by created custom search scope.

- From SSP.
- Metadata properties - look for FileExtensions - EDIT
- Check on the "Allow this property to be used in scopes".

Now goahead and create scope.
- Add rule
- select "Property Query"
- Include, FileExtensions = pdf, FileExtensions =doc,FileExtensions =ppt, FileExtensions = mht etc.,
- Excude, FileExtensions =aspx.

then update the scope and re- full crawl.

Done.......you will get only documents in your search results.

Thanks,

No comments:

Post a Comment