As we know that when we search wordpress based site it shows this type URL on browser
now at this moment our query is wordpress
for demo please view below link
its first result is
my requirement is when user search a query wordpress automatic show 1st result post Instead of result page.