Title: Theme&#8217;s Search Function returning 404 Error
Last modified: October 29, 2016

---

# Theme’s Search Function returning 404 Error

 *  [adultkickstart](https://wordpress.org/support/users/adultkickstart/)
 * (@adultkickstart)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/themes-search-function-returning-404-error/)
 * Yesterday i was building my website and by accident changed my Url structure 
   on both wordpress and website url thus locking myself out of the site.
 * I’m back now but was receiving a hole bunch of 404 errors.
 * I’ve managed to solve all except the results returned from the search function
   on my site. Still receiving 404 errors.
 * I have completed the permalinks fix, i have define correctly in other files but
   am still receiving the 404 error.
 * Maybe the search is accessing something wrong in the database? Something from
   before i got thrown all these errors due to my stupid mistake. (Not great with
   databases)
 * You can visit the site and take a look for yourself: [http://www.artificialintelligence.ie](http://www.artificialintelligence.ie)

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/themes-search-function-returning-404-error/#post-8371330)
 * > …search function on my site. Still receiving 404 errors.
 * When I searched your site, I DID NOTget 404.
 * It searched fine for me!
 * Try flushing any caching plugins you might be running, as well as server and/
   or [browser caches](http://www.refreshyourcache.com/). Not just your browser,
   but any op cache or content network cache as well [such as Cloudflare](https://support.cloudflare.com/hc/en-us/articles/200169246-How-do-I-purge-my-cache-).
   That will solve many weird JavaScript issues.
 * Also try using different browsers/computers
 *  Thread Starter [adultkickstart](https://wordpress.org/support/users/adultkickstart/)
 * (@adultkickstart)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/themes-search-function-returning-404-error/#post-8371461)
 * Well, that’s fantastic. I could not figure it out an thus this must be the issue.
   Probably should have tried this before hand. Thank you for your time.
 * Do you have an interest in Ai?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/themes-search-function-returning-404-error/#post-8371531)
 * You are welcome 🙂
 *  Thread Starter [adultkickstart](https://wordpress.org/support/users/adultkickstart/)
 * (@adultkickstart)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/themes-search-function-returning-404-error/#post-8371536)
 * This is really strange. I have cleared ALL caches and nothing. Still receiving
   the 404s even on different devices, such as mobile.
 * Did you use the search bar or just click around? Clicking around on different
   things is fine, its when one initiates a search from the search bar it returns
   the 404.
    -  This reply was modified 9 years, 7 months ago by [adultkickstart](https://wordpress.org/support/users/adultkickstart/).

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

The topic ‘Theme’s Search Function returning 404 Error’ is closed to new replies.

## Tags

 * [404 errors](https://wordpress.org/support/topic-tag/404-errors/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [search results](https://wordpress.org/support/topic-tag/search-results/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [adultkickstart](https://wordpress.org/support/users/adultkickstart/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/themes-search-function-returning-404-error/#post-8371536)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
