• Resolved morfe1

    (@morfe1)


    Hi there,

    is it possible to specify exact search query value in the short code.
    So it will automatically perform a search of ‘something’ and display results on the page.

    My final goal is displaying related posts on the 404 page, based on the requested url.

    So if someone lands on 404 page with /something I want to show search results by ‘something’.

    Any help is much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SearchIQ

    (@searchiq)

    let me understand better you need.
    (1) if you want to convert user query to exact match? You can change match option in admin.
    (2) Or you want query that have no result to show default result for a specific keyword you ask?
    (3) Or you want to redirect 404 url to you search result page and have the final element in the url becoming query keyword?

    Thread Starter morfe1

    (@morfe1)

    Hi there,

    I want 3rd, excepting the redirect. So the results should appear right on the 404 page.

    E.g here https://pdidner.staging.wpengine.com/marketing
    I’m using another plugin here, which allows to specify the search query in shortcode.
    And I’m passing the request_url(final element in url) to it.

    But I do like your search plugin and would like to use it for the same purpose if possible.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Specifying exact search value in the shortcode.’ is closed to new replies.