• I’ve taken over a site from another developer and I’m having an issue with the search function.

    The search page and template and have created. If I leave the search form action as <?php bloginfo('url'); ?> it does the search and uses the search template but the url is https://localhost (not what we or the client want). If I set the action to <?php bloginfo('url'); ?>/search I get page not found, however if I navigate to https://localhost/search is displays the search page with no search results.

    I was able to kinda get it working by using https://localhost/search.php but then the pagination links don’t work and if you change to French it breaks (need to add /fr/ to the url).

    I also have Custom Structure set to /%category%/%postname%/ in Permalink Settings if that’s makes a difference.

Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Search page not found’ is closed to new replies.