• Dear All,

    I found search function not working.
    I tried to enter some keywords, but it still
    shown the message
    “Not Found
    Apologies, but the page you requested could not be found. Perhaps searching will help.”

    Please help me how to fix it?

    Thank you so much.

Viewing 1 replies (of 1 total)
  • You should try first URL format http://www.mydomain.com/?s=test If this works change the search code like below

    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
    <input type=”text” value="<?php the_search_query(); ?>" name="s" id="s" />
    <input type="submit" id="searchsubmit" value="Search" />
    </form>

    Still problem is there try below method

    – deactivating all plugins to see if this resolves the problem If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems

Viewing 1 replies (of 1 total)

The topic ‘wordpress search function not working’ is closed to new replies.