WordPress.org

Ready to get started?Download WordPress

Forums

sperated blog/wordpress directories kill livesearch plugins (1 post)

  1. nolageek
    Member
    Posted 7 years ago #

    I have my wordpress installed in /wordpress and the index.php and .htaccess files in the root directory.

    I've been fighting, trying to get several AJAX livesearch plugins to work with my theme (Ambiru) and I finally came across this comment on the searchlite plugin's site:

    http://www.monfx.com/journal/2006/08/07/searchlite-moofx-livesearch-plugin/

    Ash Haque Says:
    August 30, 2006 at 12:46 am

    Just wanted to drop off some thoughts about the plugin:

    First of all it’s bloody awesome! Works great, a lot lighter than the other options, and very customizable too. I’ve used it for a couple of clients in the past month, and they all have nothing but good things to say about it.

    One thing I noticed is that live search does not work when you have your permalink structure setup as /%category%/%postname%. It’s not just this plugin, but no live search plugin will work this way, it’s because of a WP bug in the:

    classes.php file where wp() is called and found a malformed query string based on that structure

    Anyways it took me ages to find the problem, just wanted to post it in case anyone else is in the same situation (it’ll save you a lot of greif).

    I wasn't sure what he meant, but when I moved my index.php file to the /wordpress directory and ran the site that way, searchlite worked fine (as did all the other AJAX livesearch plugins I've been trying - with no luck.)

    Why would this break the plugins? I really don't want to run the site from /wordpress again!

    Any ideas for a solution?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.