Jump to content

Wordpress search engine (searchwp)


agent_kidd
Go to solution Solved by requinix,

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.