I have search a lot but cannot find any solution for my problem.
I when i entered the search term to the search box of my website, it goes to
mysite.com/search/search+term. However, the result page does not have meta keywords and meta description. I trying to find way to add these values into the header of the result page with
meta keywords = search term and
meta description = information about the search term.
I think i will need to modify the search.php or query.php files, but not sure how to do. I don't want to change the header.php because it will conflict with other normal posts.
Anyone has any suggestion how to do this?
Thank you in advance!