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
http://localhost(not what we or the client want). If I set the action to
<?php bloginfo('url'); ?>/searchI get page not found, however if I navigate to
http://localhost/searchis displays the search page with no search results.
I was able to kinda get it working by using
http://localhost/search.phpbut 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.
- The topic ‘Search page not found’ is closed to new replies.