+ Reply to Thread
Results 1 to 7 of 7

Thread: Disable location & the URL structure

  1. #1

    Arrow Disable location & the URL structure

    Hello, I just purchased flynax a couple of days ago, just getting my hands on this software, I was hoping if you can help me achieve this:

    as default flynax does this domain.com/country/state/city

    for example: domain.com/united-states/florida/miami

    What I would like to achieve is disable the country and state and only remain with city and achieve this:

    domain.com/city

    for exampple: domain.com/miami


    I have played with Multi-Field Geo filtering but I was unable to get the results I want. Do I really need this plugin? ( because I only want /city/ It is relevant to me or there is a simpler solution? )

    I managed to create custom Cities in Data Entry Manager but the cities don't show up here > https://gyazo.com/b70786854f964ce2cc362de6f9888143

    Your help is greatly appreciated. Thank you !
    Last edited by Alexandru Costan; March 14, 2017 at 11:49 PM.

  2. #2
    Hello Akexandru,

    I can try you remove all countries and re-upload only cities of your country to DB.
    Thank you, Curtis.
    @Flynax Company

  3. #3
    Hi Curtis, thank you for your time.

    Should I replace country with city , and keep the key "countries" ?

    or

    Should I build from 0 with new key "city" and add all the cities that I want ?

    Where should this action be made, in Multi-field/Geo filtering ? Will it work across the website ( add listing, My Location plugin .etc)

    Looking forward to your answer.

  4. #4
    bump
    I have the same problem
    I need filtering only by city. State and country should have default value
    How can I do this?

  5. #5
    Quote Originally Posted by Yuliy Zaverukha View Post
    bump
    I have the same problem
    I need filtering only by city. State and country should have default value
    How can I do this?
    Hello Yuliy Zaverukha,

    In this case you need remove the current location fields and create a new for cities and import DB with sities only.
    Thank you, Curtis.
    @Flynax Company

  6. #6
    Hello Curtis
    Can you make small step by step instruction for me, please?

  7. #7
    Quote Originally Posted by Yuliy Zaverukha View Post
    Hello Curtis
    Can you make small step by step instruction for me, please?
    Hello,

    1. make a backup of database to have ability restore changes
    2. go to AP -> Plugins -> Multi-field/Geo filtering -> click to "Delete" your current countries
    3. click to "Add an Entry" and create a new entry with "Cities" for example if you plan use one country and one state only
    4. click to "Manage" in a new entry
    5. click to "Import Data" and select necessesary DB and click to "Select items to be imported" and select cities of your country
    6. after these changes system must generate new multifields, which you need put to listing forms instead old location fields
    Thank you, Curtis.
    @Flynax Company

+ Reply to Thread