Title: Error in search function when using apostrophe
Last modified: September 1, 2016

---

# Error in search function when using apostrophe

 *  [Biker Patches](https://wordpress.org/support/users/biker-patches/)
 * (@biker-patches)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-in-search-function-when-using-apostrophe/)
 * If I put in any word that has an apostrophe in it in the default product search
   box in storefront, I get an error. It’s only when I include an apostrophe. Never
   knew about this before. Any fix for it?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [pauldixon999](https://wordpress.org/support/users/pauldixon999/)
 * (@pauldixon999)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-in-search-function-when-using-apostrophe/#post-7599285)
 * What error do you get?
 * I’m using storefront also (latest version) but don’t have a problem with apostrophe’s
   in my search box. At least I think I don’t!
 * You can check here: [The Wooden World](http://www.thewoodenworld.com)
 * Can you link us to your site to test please?
 *  Thread Starter [Biker Patches](https://wordpress.org/support/users/biker-patches/)
 * (@biker-patches)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-in-search-function-when-using-apostrophe/#post-7599293)
 * It turns out that the problem was my bulletproof security plugin. If you use 
   it you need to change some things in the .htacess file it creates. Otherwise 
   you will get an error message.
 * It was making other problems too so I removed the whole plugin. I use two other
   security programs so don’t need it anyways. BP puts a lot of stuff in that .htacess
   file that can cause problems with a retail site.
 *  [James Koster](https://wordpress.org/support/users/jameskoster/)
 * (@jameskoster)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-in-search-function-when-using-apostrophe/#post-7599295)
 * Glad you figured this out.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error in search function when using apostrophe’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/storefront/4.6.2/screenshot.png)
 * Storefront
 * [Support Threads](https://wordpress.org/support/theme/storefront/)
 * [Active Topics](https://wordpress.org/support/theme/storefront/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/storefront/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/storefront/reviews/)

## Tags

 * [search box](https://wordpress.org/support/topic-tag/search-box/)
 * [search function](https://wordpress.org/support/topic-tag/search-function/)

 * 3 replies
 * 3 participants
 * Last reply from: [James Koster](https://wordpress.org/support/users/jameskoster/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/error-in-search-function-when-using-apostrophe/#post-7599295)
 * Status: not resolved