WordPress.org

Support

Support » Themes and Templates » suffusion 3.9.6 search fails if you aren't logged in

suffusion 3.9.6 search fails if you aren't logged in

  • 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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Sayontan Sinha

    @sayontan

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

    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…

    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 ‘=’

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

    sorry!

    /mtr

    Theme Author Sayontan Sinha

    @sayontan

    sorry!

    No worries – we are all learning!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘suffusion 3.9.6 search fails if you aren't logged in’ is closed to new replies.