Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

2 Answers 2

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 :

http://localhost/wordpress/?s=video
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

 
discard

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.