Using the Internal Search Engine for PageNotFound

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/10/2011 8:35:34 AM
Gravatar
Total Posts 130

Using the Internal Search Engine for PageNotFound

Hello,

I'm running on 2.3.5.3 MSSQL multi site mode and am utilizing the internal search engine.  I noticed that the built in 404 error is using Google Search, which means the search is not working on my sites.  Is there a way to change this to use the internal search engine, or will I need to switch all searching over to Google Search?

Thanks,

Beth

1/26/2011 12:04:18 PM
Gravatar
Total Posts 18439

Re: Using the Internal Search Engine for PageNotFound

You can disable the google enhancement for the 404 page with the web.config setting 

<add key="EnableGoogle404Enhancement" value="true"/>

which you could override to false in user.config.

If your skin has the SearchBox instead of just a link that should work on the 404 page.

You could also create a custom 404 page instead of using the pre-made one, you just specify the file with this setting:

<add key="Custom404Page" value="/PageNotFound.aspx"/>

Hope it helps,

Joe

1/27/2011 8:31:53 AM
Gravatar
Total Posts 130

Re: Using the Internal Search Engine for PageNotFound

Hi Joe!

Thank you; that is what I was looking for.  I removed the Google Search from the 404 page.

Best,

Beth

You must sign in to post in the forums. This thread is closed to new posts.