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

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -