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.

2 Answers 2


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:


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 :

  • 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
    – v3nt
    Mar 27, 2012 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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