Solutions (I like option 3 best):
- Configure the search engine, but with Foundation Search, there's hardly anything to configure.
- Eliminate or hide the DispForm.aspx, but I learned in SharePoint 2007 that doing anything drastic to the default DispForm.aspx can break a list in strange, un-repairable ways.
- Use the following JavaScript redirect in a content editor webpart in the DispForm.aspx:
<script type="text/javascript"> function redirectForm() { var pagemode = GetUrlKeyValue('DisplayMode', false); if(pagemode == null || pagemode == "") { var hrefCurrent = window.location.href; var hrefNew = hrefCurrent.replace("DispForm.aspx","CustomForm.aspx"); window.location.href = hrefNew; } } ExecuteOrDelayUntilScriptLoaded(redirectForm, "sp.js");</script>