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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -