Support » Fixing WordPress » Search only working on home page

  • I know there is documentation on this, but none of it seems to apply to my situation.

    The search on my site ( only works on the home page, and not being a PHP wizard, I can’t seem to find why this is happening.

    When I search on any sub page, the page just refreshes. I’m sure this is just a small tweak to the code, but I just can’t make it happen.

    Any tips you could throw my way would be much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try and disable all plugins and activate default theme and see if it is fixed. If it is, then activate the theme then check. Then activate each plugin one at a time until the issue happens. This is basic troubleshooting that should help you find where the issue lies.

    If it is the theme you will have to get support from the author since premium themes are not supported on this forum.



    Hello @jvmcnamara

    I had the same problem with the site I’m working on..

    You could try this

    `<form role=”search” method=”get” id=”searchform” action=”<?php echo home_url( “/” ); ?>”>’

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search only working on home page’ is closed to new replies.