rewrite url structure

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

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

Open Support Ticket
  • Author
    Posts
  • #426479

    jedwan
    Expired Member
    Post count: 32

    I figured out the location url is constructed through this line

    $location_link_column = ", CONCAT_WS('/', " . $concat_ws . ") AS location_link ";

    in the geodir_location_functions.php file.

    I want to add words to the city_slug name
    for example change https://wpgeo.directory/location/united-states/pennsylvania/philadelphia/
    to

    https://wpgeo.directory/location/united-states/pennsylvania/food_in_philadelphia/

    I can do this by changing the above code to

    $location_link_column = ", CONCAT_WS('/food_in', " . $concat_ws . ") AS location_link ";

    But the url will lead to 404 page.

    How do I make the plugin aware of the new url

    thanks

    #426480

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #426544

    Guust
    Moderator
    Post count: 29970

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #426597

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #426613

    jedwan
    Expired Member
    Post count: 32

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #426618

    jedwan
    Expired Member
    Post count: 32

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #426646

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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

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

Open Support Ticket