How to change the Name of a URL Link

Discussion in 'Auto Classifieds Script' started by oglasi, Nov 6, 2016.

  1. oglasi

    oglasi New Member


    I have a question regarding the name of URL.
    I changed the language of subrion CMS, but when i go to my website and click on "Add car" i get this url "". I would like to changed "add" in url to something else. Is it possible to do that?

    Thanks in advance :)
  2. Vasily_B.

    Vasily_B. Project Manager


    You can do that via phpMyAdmin. Open pages table and find record responsible for this page. Change alias value to something else, that's it. Once done, please delete all the files in your tmp/ folder.
    Let us know if it worked for you.

    Dayir_A. likes this.
  3. oglasi

    oglasi New Member

  4. Dayir_A.

    Dayir_A. Staff Member

    Hello @oglasi,

    Which template and what package do you use?
    Probably some URLs in template were hardcoded and that's why you get this error.
  5. oglasi

    oglasi New Member

    My package is Autos Classifides and template is Turbosale.

  6. Dayir_A.

    Dayir_A. Staff Member

    In Turbosale template the /add URL path is hardcode in /templates/turbosale/layout.tpl file, line:63
    Code (HTML5):

    <a class="btn btn-success navbar-btn navbar-right" href="{$}add/">{lang key='sell_car'}</a>
    You can change it like this:
    Code (HTML5):

    <a class="btn btn-success navbar-btn navbar-right" href="{$}another_string/">{lang key='sell_car'}</a>
    However path should be valid URL and it is recommended to have only letters, numbers and underscore.

    Andrew_G. and Gleb_S. like this.
  7. oglasi

    oglasi New Member

    Thanks #Dayir-A :)
  8. Dayir_A.

    Dayir_A. Staff Member

    You are always welcome!

Share This Page