• Resolved Sam

    (@subnoodle)


    Hello,

    the search widget works like expected, when a backend user is logged in:
    Using the frontend widget Google-Search, the widget redirects to the result page and displays results.

    But when no user is logged in and you do the Google widget search as usual surfer, i enter the search phrase, WP redirect to the result page, and then the message appears with “no matching results found”.

    => Using same search phrase, a loggin in user gets the results.

    That is pretty wired.

    Any hint for it?

    Thx, Thomas

    https://wordpress.org/plugins/wp-google-search/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WebshopLogic

    (@webshoplogic)

    Hi!

    We have not experienced this kind of behavior yet.
    Search results are generated by Google, I do not what is the connection between WP login and Google search results.
    Can I see your site? Please send us the URL here or to info@webshoplogic.com

    Thanks,
    Peter

    Plugin Author WebshopLogic

    (@webshoplogic)

    Hello Thomas!

    When you activate the plugin, it creates a “Search Results” page, the slug code of this page is “search_gcse”.
    This page contains the following short code, where the plugin displays search results: [wp_google_search]

    After you search for a keyword, the plugin redirects you to the following page: http://yoursite.com/search_gcse/?q=yoursearchfraze

    It seems that “Search Results” may be deleted from your site, so there is not any page to display Google search results, and in this case your WP site redirects you to a normal WP search page.

    So please check the followings:
    – if “Search Results” page exists or not.
    – the content of this page is [wp_google_search] or not

    If the page does not exists, then please deactivate our plugin and then activate it again, then this page should be created automatically, and the problem will be solved.

    I hope this is the cause of the problem. If not, please let us know.

    Peter

    Thread Starter Sam

    (@subnoodle)

    Peter,
    thank you very much for your response.
    Excellent explaination.
    The failure was that page “Search Results” was on status draft. Who this did, i don’t know. There are more than only me maintaining this site.

    Thank you very much!

    Thomas

    Plugin Author WebshopLogic

    (@webshoplogic)

    Thank you for the feedback.
    We are happy to managed to solved the problem.

    Peter

    Hello –

    I encountered the same issues as the OP, but it wasn’t due to anyone else putting the new search page on Draft. It automatically defaults to Schedule, with the publication date set to the next day. In the WP Publish box, I clicked Published On > Edit and reset the publication date to an earlier date/time, then clicked OK > Publish. The page published as normal.

    Good idea to automatically default to Draft or Schedule to allow time to customize the page. You just need to make it clear in the FAQs. Or I missed it!

    Thanks!

    Plugin Author WebshopLogic

    (@webshoplogic)

    Hello,

    Thank you very much for this explanation.
    I going to write it the FAQ.

    Peter

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Search Widget Does not show results’ is closed to new replies.