Forums

Is bSuite re-writing my search urls? (4 posts)

  1. wild_eep
    Member
    Posted 10 months ago #

    When bSuite is active, and a user uses the search box, generally the following url is produced:

    http://www.example.com/index.php?s=searchterm&sbutt=Find

    however, when my copy of bSuite 4.0.3 is activated, the url appears momentarily and is then replaced by:

    http://www.example.com/search/searchterm

    ... which causes my installation of WP to return an error of "Page Not Found" and my theme to display "Sorry, no posts matched your criteria, please try and search again."

    I really like bSuite. I think its stats reporting is top notch, but search is so very important to my site that I have to disable bSuite until I can find a resolution.

    Casey, can you help me?

  2. wild_eep
    Member
    Posted 10 months ago #

    To be more precise:

    the actual problematic URL for my site is

    http://www.big6.com/go/search/history

    ...where 'history' is the search term, and /go is a subdirectory that I have WP installed into.

    as you mentioned in your comments, the expected URL of http://www.big6.com/search/history currently works properly, with the plugin disabled. I haven't tested that URL with the plugin enabled yet.

  3. misterbisson
    Member
    Posted 10 months ago #

    Hrmm...the siteurl is 'http://big6.com/go/' and can't be changed without breaking it, but the site accessed at http://big6.com/ . I guess I have to figure out how the other URLs are getting generated correctly.

  4. vitto32
    Member
    Posted 6 days ago #

    I solved modifing bsuite.php
    Around line 1780, instead of
    get_option('siteurl')
    use
    get_option('home')

    Now internal search highlightning does not works, I think the missuse of 'siteurl' over 'home' is present elsewhere.

Reply

You must log in to post.

About this Topic