Title: Search broken when permalink structure changed
Last modified: August 18, 2016

---

# Search broken when permalink structure changed

 *  [dearcrissydotcom](https://wordpress.org/support/users/dearcrissydotcom/)
 * (@dearcrissydotcom)
 * [21 years ago](https://wordpress.org/support/topic/search-broken-when-permalink-structure-changed/)
 * Ok, the first person to diagnose and fix my problem gets… gets… some applause?
 * When I have the default permalink structure in place (with just the index.php/
   id or whatever) my search works fine. When I change the permalink structure to
   show “pretty urls,” search works from main page, but if you try to use search
   from another page (say you search, then try to search again) it comes back as
   no URL error. Argh. This makes no sense. Try it.
 * [http://dearcrissy.com](http://dearcrissy.com)

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

 *  Thread Starter [dearcrissydotcom](https://wordpress.org/support/users/dearcrissydotcom/)
 * (@dearcrissydotcom)
 * [21 years ago](https://wordpress.org/support/topic/search-broken-when-permalink-structure-changed/#post-203381)
 * please?
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years ago](https://wordpress.org/support/topic/search-broken-when-permalink-structure-changed/#post-203382)
 * What does the searchform in your template look like. The problem is on your individual
   pages the `action` field of your form has incorrect information. Your searchform
   isn’t populating it correctly.
 *  Thread Starter [dearcrissydotcom](https://wordpress.org/support/users/dearcrissydotcom/)
 * (@dearcrissydotcom)
 * [21 years ago](https://wordpress.org/support/topic/search-broken-when-permalink-structure-changed/#post-203383)
 * just tell me which actual file.php you would need to see and I’ll show you.
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years ago](https://wordpress.org/support/topic/search-broken-when-permalink-structure-changed/#post-203386)
 * Hard to tell, I don’t know which theme you’re using :). Likely either `searchform.
   php` or `sidebar.php` or even `single.php` depending on how your theme is laid
   out. It looks like a Kubrick-based theme, so my guess is `searchform.php`.
 * Copy everything out of that theme and paste it at a [pastebin](http://www.pastebin.com),
   then post the link here, please.
 *  Thread Starter [dearcrissydotcom](https://wordpress.org/support/users/dearcrissydotcom/)
 * (@dearcrissydotcom)
 * [21 years ago](https://wordpress.org/support/topic/search-broken-when-permalink-structure-changed/#post-203388)
 * [http://pastebin.com/283640](http://pastebin.com/283640)
 * I have to go to work now. I’ll check up on any replies/help you offer later. 
   seriously, thanks for any effort you devote to my little mishap 🙂

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

The topic ‘Search broken when permalink structure changed’ is closed to new replies.

## Tags

 * [structure](https://wordpress.org/support/topic-tag/structure/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [dearcrissydotcom](https://wordpress.org/support/users/dearcrissydotcom/)
 * Last activity: [21 years ago](https://wordpress.org/support/topic/search-broken-when-permalink-structure-changed/#post-203388)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
