Wrong tag url's

This topic contains 5 replies, has 3 voices, and was last updated by  Alex Rollin 6 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #407669

    Nasiot Genís
    Buyer
    Post count: 26

    Hello

    The url for an event tag should be like this https://competidor.cat/curses/tags/lliga-catalana-ultra-trails/ and it works fine.

    But in the event page, the tag url is this one: https://competidor.cat/curses/tags/espanya/barcelona/canoves/lliga-catalana-ultra-trails/ whith the country/state/city structure. This url is not working.

    How can I configure the GeoDirectory pugin to show the right url?

    Thanks

    #407686

    Kor
    Moderator
    Post count: 16516

    Hi Nasiot,

    We’ll have to investigate this further. Please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below.

    Thanks!

    #408050

    Nasiot Genís
    Buyer
    Post count: 26
    This reply has been marked as private.
    #408058

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Based on permalink settings, https://wpgeodirectory.com/docs/core-permalinks/

    You can remove the location from the category GD > Permalinks > Add location in urls > NO

    There is also a filter for the term links that adds the location (filter) based on the location of the listing. That filter can be removed, and you can customize that to meet your need:

    
    
    
    remove_filter('term_link', 'geodir_get_term_link', 10);
    
    #408062

    Nasiot Genís
    Buyer
    Post count: 26

    Thanks Alex

    But, if I remove the location, I will remove it in all url’s? In this case, all the links I’ve shared will be wrong?

    I only want to remove de location in the tag link that appear in the event page’s.

    Thanks again

    #408216

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    You can add that as a feature request : https://wpgeodirectory.com/requests/

    Or you can hire a developer to make that change for you: https://geodirectoryexperts.com

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

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

Open Support Ticket