Results not displaying

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16186
    goodimp
    goodimp
    Participant

    Hello

    If I set the magnifier and return triggers to go to the results page it will show the results on the default search page. If I then change them to my custom results page it will go to the but but the results don’t display. I’ve tried using the shortcode and the VC element.

    I’ve tried turning off other plugins, using twentysixteen theme, turning on debug mode and got no errors.

    I had this error in the log earlier but nothing since.

    [Sun Jan 07 17:41:26.980901 2018] [core:error] [pid 10601:tid 140718356006656] (36)File name too long: [client 80.4.71.53:63391] AH00036: access to /search&asp_active=1&p_asid=1&p_asp_data=Y3VycmVudF9wYWdlX2lkPTUzNCZxdHJhbnNsYXRlX2xhbmc9MCZhc3BfZ2VuJTVCJTVEPXRpdGxlJmFzcF9nZW4lNUIlNUQ9Y29udGVudCZhc3BfZ2VuJTVCJTVEPWV4Y2VycHQmY3VzdG9tc2V0JTVCJTVEPXBvc3QmY3VzdG9tc2V0JTVCJTVEPXBhZ2UmY3VzdG9tc2V0JTVCJTVEPWR0X3RlYW0= failed (filesystem path ‘/home/gicms2co/public_html/search&asp_active=1&p_asid=1&p_asp_data=Y3VycmVudF9wYWdlX2lkPTUzNCZxdHJhbnNsYXRlX2xhbmc9MCZhc3BfZ2VuJTVCJTVEPXRpdGxlJmFzcF9nZW4lNUIlNUQ9Y29udGVudCZhc3BfZ2VuJTVCJTVEPWV4Y2VycHQmY3VzdG9tc2V0JTVCJTVEPXBvc3QmY3VzdG9tc2V0JTVCJTVEPXBhZ2UmY3VzdG9tc2V0JTVCJTVEPWR0X3RlYW0=’), referer: http://www.gicms2.co.uk/contact-us/

    #16212
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I believe you are trying to do something that is not possible.

    The custom redirection URL is for cases where there is a working custom permalink scheme for search results, and you want the plugin to adapt to it as well. It is simply impossible to redirect (or in this case push) the results to a custom page. The search query results are always handled by the search.php file in the theme directory, when it is invoked.

    It is possible to change the default search URL scheme with custom code, for example this tutorial explains 2 possible ways: https://wordpress.stackexchange.com/questions/54832/wordpress-custom-search-url
    These solutions only create a ‘mask’ for the WordPress to resolve and properly call the search results template file. This will not change the layout of the results page – that is completely controlled by the theme.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.