WordPress.org

Ready to get started?Download WordPress

Forums

Search widget error with apostrophe (9 posts)

  1. aunkoh
    Member
    Posted 2 years ago #

    Hi,

    I run a wordpress blog using the latest version and the Shaken Grip theme.

    I just realized that when search terms are inputed into the WP search widget, and if that term has an apostrophe, I get an error message as follows (used "harry's bar venice" as an example:

    403 Permission Denied

    You do not have permission for this request /?s=harry%27s+bar+venice

    Search works fine if there is no apostrophe in term. Anyone know how to fix this?

    Many thanks.

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Just tested a search for 's. This does not occur in current version of WP and default theme so I would say it is theme or plugin related.

  3. aunkoh
    Member
    Posted 1 year ago #

    Don't understand this. The guy who build the theme said the theme uses the WP default search widget.

  4. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    A link to your site would tell us if that is correct, without a link we cannot even guess the truth.

  5. aunkoh
    Member
    Posted 1 year ago #

    Apologies. The site is at http://chubbyhubby.net. The search widget is at the top of the sidebar on all internal pages and posts.

  6. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Unfortunately, it appears your site has been compromised

  7. aunkoh
    Member
    Posted 1 year ago #

    Thanks. I've signed up with a service to try and clean out my site.

  8. seezee
    Member
    Posted 1 year ago #

    I've got the same error. Using WP 3.5. http://mercury-photo.com. All up to date except a few plugins that I plan to update later today. Can confirm that it's not theme related (temporarily set it to Twenty Twelve & disabled my modified searchform.php, which adds Google voice-activated search functionality, to test it). Error also occurs if query includes a double quotation mark (").

  9. seezee
    Member
    Posted 1 year ago #

    UPDATE: it's the Block Bad Queries (BBQ) plugin. The latest update fixes this. http://wordpress.org/extend/plugins/block-bad-queries/

Topic Closed

This topic has been closed to new replies.

About this Topic