WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Am i wrong in thinking i can access the search page by using /search/ ? I've created the files search.php & searchpage.php but /search/ still returns 404?

I want to customise the page a bit...

best, Dan.

share|improve this question
up vote 0 down vote accepted

You should be able to access search pages via search/foo as well as ?s=foo. This search rewrite rule is built in into WP since version 1.5. I tested it and it works.

As for the template files, you will need search.php, searchpage.php is not used.

Also see:

share|improve this answer

You can not access search page like this.To access search page you have to enter your blog name in URL box of browser followed by ?s= any search keyword.

Example :

share|improve this answer
ok - so i'll just have to create a file page-search.php and create a page called search in the admin to create a custom page then. Cheers... Dc – daniel Crabbe Mar 27 '12 at 9:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.