Wordpress search engine (searchwp)

Status
Not open for further replies.

agent_kidd

New member
Hi, just found this forum, maybe someone can help here. Novice question here 🙂

I have a 3 differents search engine on my website. I have add a form on the header with the code provide by searchwp. this code is supposed to redirect the results of the search on my result page (page id: 16599). but the result is send on a 404 page.

here is the form:

<div class="search-box">
<form role="search" method="get" class="search-form" action="<?php echo get_permalink( 16599 ); ?>">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="Search …" value="" name="swpquery" title="Search for:">
</label>
<input type="submit" class="search-submit" value="Search">
</form>
</div>

Is anyone have an idea how i can achieve this?



Thanks a lot
 
  1. Ensure that the page ID 16599 corresponds to the correct results page.
  2. Confirm that your permalink structure is set up correctly.
  3. Verify that there are no conflicts with other plugins or themes.
  4. Check if there are any error messages by enabling WP_DEBUG.
i hope you will find it better
 
Status
Not open for further replies.
Back
Top