Change region in URL?

This topic contains 1 reply, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #380953

    Antony Spear
    Expired Member
    Post count: 17

    I have added a place and seems to work fine, it shows on the map and all that.

    But the URL for it is not what I would like, but I cant change it. The URL is of the format:

    /venues/region/city/name/

    But its showing the city as the region, e.g.

    /venues/cardiff/cardiff/name/

    What I would like is:

    /venues/wales/cardiff/name/

    I dont want the city showing twice. Where does this come from, as I cant see where to change it. Is it from Google? Perhaps Google refers to the region as Cardiff, and then the city as Cardiff.

    So in the above URL wales is the country, but if I choose to add country, it shows it as /united-kingdom/ not /wales/.

    But the UK country is made up of several countries (think of them as sub-countries) which are Wales, Scotland, England and Northern Ireland. I want these to show in the URLs. So someone could go to the /wales/ section and see all listings in Wales, then they can drill down to Cardiff say.

    In fact, it would be great if we can counties in there too. So the ideal URL structure is:

    /venues/wales/south-glamorgan/cardiff/name/

    I did try using Categories, but it adds the category at the end of the URL, not the beginning.

    Do you know how I can do that? It seems the URLs are auto-created, and thats not good, especially for SEO work, we would need to be able to control venue URLs.

    Thanks

    #381019

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Laurence,

    I feel ur pain, i am from Scotland 🙂

    We don’t have a option to break down the UK in to its own countries but it is something i would like to add as an option.

    If your directory is limited only to Wales we can add a little DB hack if not we would have to wait for the options to be added.

    For the regions i think its using counties which seems to be returning Cardiff, this is something we can change for what is returns but it would require a code snippet and some testing.

    I am off until Monday now, so it might have to wait till then depending on what you require.

    Thanks,

    Stiofan

Viewing 2 posts - 1 through 2 (of 2 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