Title: SEARCH function error
Last modified: August 19, 2016

---

# SEARCH function error

 *  [vatality](https://wordpress.org/support/users/vatality/)
 * (@vatality)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/search-function-error/)
 * WP search function no longer returns WP related blogs/topics but defaults to 
   the website’s [main pages](http://www.vitalitymobilemassage.com/news/)/index 
   page only.
 * This error crossed version upgrades.

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

 *  Thread Starter [vatality](https://wordpress.org/support/users/vatality/)
 * (@vatality)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/search-function-error/#post-697616)
 * Anyone? Anyone with an idea for a scripting error that won’t search blog archives
   and defaults instead to the main site index?
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/search-function-error/#post-697641)
 * Your search form’s action attribute has this for a value:
 *     ```
       action="/index.php"
       ```
   
 * Change it to:
 *     ```
       action="/news/index.php"
       ```
   
 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/search-function-error/#post-697645)
 * A heads up that the plugin Event Calendar (firetree.net) throws all searches 
   out of whack. It has other issues as well; the plugin author is non-communicative.
   And what a shame; that plugin had promise.
 * Just thought I’d let you know.

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

The topic ‘SEARCH function error’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 3 participants
 * Last reply from: [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * Last activity: [18 years, 3 months ago](https://wordpress.org/support/topic/search-function-error/#post-697645)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
