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

how to make permalink available for search result page

/?s=one+two+ok to /search/one-two-ok/


share|improve this question
up vote 3 down vote accepted

That kind of search request should already work(query it directly in your address bar), the component you're missing is redirecting the non-pretty search requests..

For doing the redirect, you should find the following plugin still works.. http://txfx.net/wordpress-plugins/nice-search/

Hope that helps..

share|improve this answer
cool, thank you t31os – zagriyen Nov 20 '10 at 1:49
You're welcome.. ;) – t31os Nov 20 '10 at 10:53
+1 for Nice Search plugin. Bookmarked! – PNMG Dec 2 '10 at 21:54

i found this

RewriteRule ^search/(.+)?$ /index.php?s=$1 [QSA,L]

and in form

<form action=";/index.php" method="get" onsubmit="location.href='/search/' + encodeURIComponent(this.s.value).replace(/%20/g, '+'); return false;">

source : seo-wordpress-search-with-permalink-structure/

if you have a better solution i want it

share|improve this answer

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.