WordPress.org

Ready to get started?Download WordPress

Forums

Suffusion
suffusion 3.9.6 + search fails if you aren't logged in (6 posts)

  1. mrose17
    Member
    Posted 2 years ago #

    i am successfully running 3.2.1 with suffusion 3.9.2 - search works fine with (or without) the relevanssi plugin.

    i upgraded to 3.3.1 / 3.9.2 - if i am logged in as admin, search works fine. if i am not logged in, search always takes me back to the home page.

    where would i begin to look to see where it has gone into the weeds?

    thanks,

    /mtr

    http://wordpress.org/extend/themes/suffusion/

  2. Sayontan Sinha
    Member
    Theme Author

    Posted 2 years ago #

    Probably something to do with your plugin. I can see it running fine on the theme's home page without logging in.

  3. mrose17
    Member
    Posted 2 years ago #

    thanks for the speedy reply... i forgot to mention that i did the "deactivate all plugins" thing and got the same result. i have a small number of changes to 3.9.6, mostly in the styling department, so i must have botched something there...

  4. mrose17
    Member
    Posted 2 years ago #

    rather amusing: when you ask better-wp-security to filter suspicious query strings, it adds some rules to .htaccess. specifically,

    ...
    RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]
    ...
    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
    RewriteRule ^(.*)$ - [F,L]

    strips the query string (unless you're the admin) because
    http://.../?s=missions&searchsubmit=
    has an '='

  5. mrose17
    Member
    Posted 2 years ago #

    and... i offer sincere apologies to sayontan for putting the blame on suffusion...

    sorry!

    /mtr

  6. Sayontan Sinha
    Member
    Theme Author

    Posted 2 years ago #

    sorry!

    No worries - we are all learning!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags