ExpressionEngine Search Problem Fix
I finally got some work done for my Independent Study
While I’m still hacking away at working on a good htaccess solution for redirection woes after migrating from MovableType, I sidetracked for a while and worked on fixing a search functionality problem with Professor Oyzon’s Site.
The product in question is ExpressionEngine. Depending on your implimentation, the search functionality may work incorrectly based on the need for some not-so-obvious setting changes in the Weblog Management section.
Symptoms of this problem include proper search results being displayed, but when selecting a result you will recieve either a page with no entry displayed, a page returned with the normal front page of your site or a page simply stating “Invalid URI”. This is being caused by the search result page appending the wrong information to your blog’s address.
Example: Instead of be directed to “http://www.yoursite.com/index.php?/entry_location/entry_name/” you may instead be directed to “http://www.yoursite.com/?/entry_name/” or “http://www.yoursite.com/index.php?/entry_location/index.php?/entry_name/”.
Solution: To fix the problem, we need to know the proper location of your entries. This can easily be determined by examining a permalink of an existing entry. This then needs to be placed in the proper field in the weblog management page.
- Go the the front page of your blog and select “Permalink” for one of your entries.
- Examine the address of this page, it should be similar to: “http://www.yoursite.com/index.php?/entry_location/entry_name/” – Note: you may not have an “entry_location” part of the address, this should be okay.
- The important part of the address is everything before “entry_name/”. Copy this address. (In my example you would copy “”http://www.yoursite.com/index.php?/entry_location/”.
- Log into your ExpressionEngine Administration page and go the the “ADMIN” menu.
- Under “Weblog Administration” select the option “Weblog Management”.
- For the log you wish to modify, select “Edit Preferences”.
- The field we are interested in is the “Weblog URL” setting. You may wish to copy this information and save it somewhere in case you need to revert the changes.
- After copying the original information, replace the setting with the one coppied from step #3.
- Scroll to the bottom of the page and select “Update”.
- Test your site, search functionality should be working – as Weez would say: “Life is good”
If this causes any problems, or does not work – revert the setting back to its original entry and let me know what problem you encountered. I will do my best to help
Happy Blogging…