Don't Store Location From Previous Search

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 10 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #20959

    Fearless_Shultz
    Free User
    Post count: 46

    Hi,

    Not sure if this belongs under Multi Location or core but I want to know how I can stop the previous location that someone has searched under being stored past the point of returning the results for that search. For example, I have a menu item with the following link

    ?geodir_search=1&stype=gd_eatery&s=hotel+restaurants which should return all hotel restaurant listings contained on the site.

    This works fine when first loading the site but as soon as I have done a search for an area that doesn’t contain any hotel restaurants then returning to the url above no longer returns any results until I clear all browsing data and reload the site.
    Is there any way to prevent this? Or a parameter I can use in the query string to return all results independent of location?

    Hope I have explained properly 🙂

    Kind Regards

    Mike

    #20962

    Guust
    Moderator
    Post count: 29970

    I can’t quite replicate that. Can you give us a full URL of the searches you’re doing?
    Is your location switcher telling you that you actually changed location after the first search?

    #21010

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Guust,

    Thanks for your reply 🙂 I think I have resolved the issue above now. Although I would still like to know if there is a reference somewhere to parameters that can be used in the query string for returning search results if I am adding static links into menu items?

    #21020

    Guust
    Moderator
    Post count: 29970

    The easiest way is to perform the search and copy the URL?

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount