Not Let WordPress Search within posts
-
Hello Everybody ,
I am looking for wordpress to not search within posts and search the full site instead when someone searches while he is on a post URL..
For Example:
If somebody searches at:
https://mysite.com/example-post/?s=search+termThen , he should be redirected to
https://mysite.com/?s=search+termI believe this can be done using htaccess, please suggest.
I dont want wordpress to show up resuilts from within post when a person searches from within post
Thanks
- The topic ‘Not Let WordPress Search within posts’ is closed to new replies.