+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Is it possible to change the url structure?

  1. #1
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236

    Is it possible to change the url structure?

    Hello

    Existing url www.site.com/auto/sale/amc/alliance.html

    category 1 : www.site.com/auto.html
    category 2 www.site.com/auto/sale.html
    category 3 www.site.com/auto/sale/amc.html
    category 4 www.site.com/auto/sale/amc/alliance.html
    category
    category
    category


    sample

    category 1 : www.site.com/auto.html
    category 2 www.site.com/sale-auto.html
    category 3 www.site.com/sale-amc.html
    category 4 www.site.com/sale-amc-alliance.html


    In short, when the sub-category is selected, the parent category is hidden

  2. #2
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    You can check the yclas script

  3. #3
    Hello Yakup,

    Yes you can try to do it. At first you should Open Admin Panel >> Listing types and edit type. Then Find line: Listing Type URL and find Short URL.

    Then go to ftp://admin>>tpl>>controllers>>categories.tpl

    find code:

    Code:
    Only registered members can view the code.
    and replace to:
    Code:
    Only registered members can view the code.
    save and try again.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    thankyou viktor

  5. #5
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    Nothing changed

  6. #6
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    There was something changing.

    Main category hidden

    I just want you to see the category I chose..






    Existing url www.site.com/auto/sale/amc/alliance.html
    category 1 : www.site.com/auto.html
    category 2 www.site.com/auto/sale.html
    category 3 www.site.com/auto/sale/amc.html
    category 4 www.site.com/auto/sale/amc/alliance.html



    sample

    category 1 : www.site.com/auto.html
    category 2 www.site.com/sale.html
    category 3 www.site.com/amc.html
    category 4 www.site.com/alliance.html

  7. #7
    Then you should edit category path. In Admin Panel >> Categories click edit category.


    See attached screenshots.
    https://www.screencast.com/t/bzYLsPLoOPt
    https://www.screencast.com/t/AqAPvSgsRsJx
    Last edited by Viktor; June 12, 2017 at 02:33 PM.
    Viktor,
    Flynax technical department,
    Best wishes.

  8. #8
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    ok thankyou viktor

  9. #9
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    helo Viktor It goes back to its original state after editing
    Ads?z.jpg

  10. #10
    Hello Yakup,

    Yes you are right I forgot about 1 thing. Go to ftp://admin>>controllers>>categories.inc.php find line:

    PHP Code:
    Only registered members can view the code
    and remove or comment this code. Then go to edit category and remove 1-st part in path and check in front end.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread