Help Desk

Url amigables usando el filtro

  • Posts: 217 Topics: 99
    | Permalink

    Hola:

    Necesito usar url cortas que muestren los eventos con una selección realizada previamente en los filtros, para conseguir url más amigables en enlaces permanentes. Por ejemplo, filtrando por la provincia Cádiz. ¿Es correcto usar la url que obtengo? No logro interpretar los datos que lanza el filtro en la url

    https://pueblosblancos.soy/eventos/?tribe_paged=1&tribe_event_display=list&tribe_state=239-259-275-290-316-329-337-347-355-376-932-2528-3656-5432-7007-8356-8959-25472-26662-27798-28098-28634-32251-32605-33188-35528-37285-37320-212986-215838-216666-220071

    Saludos

    Posts: 6766 Topics: 2
    | Permalink

    Hi Antonio,

    “I need to use short URLs that show the events with a selection made previously in the filters, to get more friendly URLs in permanent links. For example, filtering through the province of Cádiz. Is it correct to use the URL I get? I can not interpret the data that the filter throws in the url.”

    Good question!

    The “tribe_state” in the URL contains the IDs of the venues.

    I believe how it works is that it checks all the venues which are in the province ‘Cádiz’ and puts their IDs of all those venues in the URL to filter. This is done like that because ‘Cádiz’ as a region (regions in general) does not have a separate database entry and thus an ID you could reference.

    That said, if you add more venues which are in the ‘Cádiz’ province, your URL will change.

    I hope that clarifies. Let me know if you have any follow-up questions.

    Cheers,
    Andras

    Posts: 217 Topics: 99
    | Permalink

    Hi András:

    Thanks for explaining how it works, I’m afraid that I will not be able to launch a default search.

    Cheers
    Antonio

    Posts: 6766 Topics: 2
    | Permalink

    Searching is definitely a tricky thing. If you can give us more details on what you would like to achieve we might be able to give you some ideas. The more details the better. Let us know if you want to give this a try. I cannot guarantee success, but if you never try you don’t succeed, right? 🙂

    Cheers,
    Andras

    Posts: 7
    | Permalink

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

    | Permalink

The topic ‘Url amigables usando el filtro’ is closed to new replies.