When we do a search in wordpress the url appears like this:
But I am using s= query variable for another purpose. so I wish to change default wordpress s= to search=.
The updated code should not work of s= for wordpress search, instead it should only support search=.
I tried a code snippet from http://demand.cr/2011/08/how-to-replace-the-default-search-query-parameter-in-wordpress/. It works but it accepts both s= and search=. I need it to work only for search=