Wordpress Search URL messing up for posts -
i set search in header.php, , on main site search works properly. when search within story, however, never can search results page because tacks on /?s=searchterm in url after post slug. how can circumvent issue?
what have provided in action of search form?
use action="<?php echo home_url( '/' ); ?>"
i think solve problem. if not provide site url easier trace actual problem.
Comments
Post a Comment