WordPress.org

Forums

[resolved] WordPress search not working (4 posts)

  1. digitalmatt
    Member
    Posted 7 years ago #

    For some reason when I run a search locally, it returns the correct results. But on the server, it just returns the home page with no results.

    Here's the link: http://www.bluestarbb.com/blog

  2. Sridhar Katakam
    Member
    Posted 7 years ago #

    Edit your search form code and change

    action="http://www.bluestarbb.com/blog"

    to

    action="http://www.bluestarbb.com/blog/"

  3. digitalmatt
    Member
    Posted 7 years ago #

    That worked great. Thank you very much!

    One thing I'm curious about though:

    Isn't it supposed to be:
    action="<?php bloginfo('home'); ?>"

    Which would be updated in the options menu in the administration panel. But, it would not update. :/

  4. djmbs
    Member
    Posted 7 years ago #

    I have a similar issue.. but the above fix doesn't work for me.

    The problem only occurs when searching on a page other than home.. and only on the search box in the header. When directed to a 404 page that also has a search box, it works fine. Any suggestions?

    http://visibleskies.com

Topic Closed

This topic has been closed to new replies.

About this Topic