Search result permalink olatechproFebruary 14, 20232 Views how to make permalink available for search result page /?s=one+two+ok to /search/one-two-ok/ Read MoreCustom post types and permalinkHome page shows recent post, serps rank post within homepageHow can I get a traceback on function calls? thank Post Views: 2 Related postsGet rid of this Strict Standards warningWooCommerce: get_current_screen not working with multi languageCan’t login on WordPressForce HTTPS using .htaccess – stuck in redirect loopWordPress: Ajax not working to insert, query and result dataHow Can I pass an image file to wp_handle_upload?
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.. Log in to Reply
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 Log in to Reply
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..
i found this
and in form
source : seo-wordpress-search-with-permalink-structure/
if you have a better solution i want it