WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Problem with the search bar

[Resolved] Problem with the search bar

  • Hey guys, I’m having a problem with my search bar. First, I had a search widget on my sidebar, and it worked fine. But then, I removed the widget and added the code

    <?php get_search_form(); ?>

    to my header, and the search bar is showing up fine, when I try to search something, it redirects to

    http://www.websitename.com/SITETITLE/?s=keyword

    but I need it to redirect to

    http://www.websitename.com/?s=keyword

    How can I fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Problem with the search bar’ is closed to new replies.
Skip to toolbar