I have made Custom Taxonomy Page : aamir khan , salman khan , aab cc ..etc hence its link are :
localhost/myproject/?motion=aamir-khan
.. llly for others.
Now i want Custom Search form : where any one search aamir khan .. its should show same custom taxonomy page of aamir khan.below is my custom search form :
<form role="customsearch" method="get" id="customsearchform" action="<?php echo home_url('/'); ?>">
<div>
<label for="s">Search for:</label>
<input type="text" value="" name="motion" id="motion" />
<input type="submit" id="customsearchsubmit" value="Search Motion" />
</div>
</form>
but when i search with aamir khan in above search form its show me " Page not found "
as link generated is
localhost/myproject/?motion=aamir+khan
i know aamir khan both will be read as different word in search "GET" .. hence its showing "+"...
hence what is best way ..so that i can search taxonomy data and result outlook should be same as my custom taxonomy page ...
Note: i am not using custom post ...
also i want input field custom search for custom taxonomy ... not drop-down search ..