This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search Results Sidebars and URL Length

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search Results Sidebars and URL Length

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48673
    tomo_5tomo_5
    Participant

    Hi,

    Two things:

    1) I would like to invoke a sidebar on your search results pages. Is this possible please?

    2) After a search results page is displayed we get a very long url: https://buildreview.org/?s=CLT&asp_active=1&p_asid=3&p_asp_data=1&filters_initial=1&filters_changed=0&qtranslate_lang=0&current_page_id=43377

    Is there a way to only display the search term like: https://buildreview.org/?s=CLT

    Thanks,

    Ian

    #48684
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    1. The search results page itself is not controlled by the plugin, so you can use the theme editor/widgets to place anything you want on the results archive – as long as the theme supports that.

    2. Sure, you can change the redirection method. However I still recommend keeping it as is, it’s much better to have those arguments via the default GET method.

    #48689
    tomo_5tomo_5
    Participant

    1) Sorry, I didn’t realise this was the standard search page. I have built new sidebars now so all is well.

    2) Why are there so many arguments for a single search string i.e. CLT? It’s pretty ugly like that.

    Thanks for your help so far.

    #48691
    Ernest MarcinkoErnest Marcinko
    Keymaster

    2. It’s to send information to the results page handler:
    – asp_active -> tells if the query is originated from the plugin and should trigger an override
    – p_asid -> unique search ID
    – filters_initial & filters_changed -> tells that the form data is initial and form data had not been tempered with yet, so based on that more efficient queries can be constructed
    – current_page_id -> used as reference to the originating page ID
    Unfortunately there is no other way to send this information.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.