Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • PJ 16 posts 60 karma points
    Jun 10, 2016 @ 09:56
    PJ
    0

    Category in the friendly url

    Hi,

    How to structure the content to achieve friendly url with a category?

    e.g. /test/test2/

    When I create a page "test" in content and then as a child I create "test2" the url for "test2" is still "/test2/" instead of "/test/test2/". Is there any settings I need to change or what's the way to achieve this "test/test2/" category structure?

    Thanks, PJ

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Jun 10, 2016 @ 10:02
    Dennis Adolfi
    0

    Hi PJ.

    That sounds like something is broke.

    Could you please show a screendunmp of your node structure?

    What version of Umbraco are you running?

  • PJ 16 posts 60 karma points
    Jun 10, 2016 @ 10:22
    PJ
    1

    Hi Dennis,

    I run Umbraco version 7.4.3 assembly: 1.0.5948.18141

    This is a screenshot.

    Thanks, PJ

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Jun 10, 2016 @ 10:26
    Dennis Aaen
    0

    Hi PJ,

    It´s because that the test page are in the root of you site. If you for example, are moving the test and test 2 page under the Home page then you should see a structure like where the URL is:

    /test/test2

    Hope this explains why.

    /Dennis

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Jun 10, 2016 @ 10:23
    Dennis Adolfi
    0

    Ah, the root node gets "/" as its url, therefore its child gets /test2. Try moving the node Test (including its child) under the Home node,

  • PJ 16 posts 60 karma points
    Jun 10, 2016 @ 10:49
    PJ
    1

    That works well. Many thanks for your help Dennis and Dennis.

    Is it possible to have "test" as a folder or something so it is not a page but it is only a category in the url?

    Thanks, PJ

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Jun 10, 2016 @ 10:56
    Dennis Adolfi
    0

    No problem, happy to help.

    Off course. You can create a Document Type Folder that has no Template, and use that only as a folder for your pages.

    Best of luck to you!!!

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Jun 10, 2016 @ 10:57
    Dennis Adolfi
    1

    Haha, inception that you got two almost exact responses from two Dennis at almost the exact moment. :)

  • PJ 16 posts 60 karma points
    Jun 10, 2016 @ 11:44
    PJ
    0

    A little bit weird Dennis, yes ;)

    I can create a folder in document types but can't seem to be able to create document type Folder that I can then use in my content I assume?

    Maybe you can explain it a little bit more how would that work?

    Thanks, PJ

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Jun 10, 2016 @ 11:46
    Dennis Aaen
    0

    Hi PJ,

    Oh did not see that you already have answer this in a previous post.

    When you create a new document type then you should also have the possibility to create a folder, see the screenshot below.

    enter image description here

    /Dennis

  • PJ 16 posts 60 karma points
    Jun 10, 2016 @ 13:09
    PJ
    0

    Thanks Dennis but I want a folder in the Content not in the Document Types like Dennis explained "You can create a Document Type Folder that has no Template, and use that only as a folder for your pages." I can create a folder in Document Types but not in Content. I'm probably doing something wrong.

    Thanks, PJ

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Jun 10, 2016 @ 13:12
    Dennis Adolfi
    0

    Yes, create a Document Type called Folder. Then you have to make sure that the Document Type of Home, allows Folder as children, under Permissions for doctypes. Makes sense?

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Jun 10, 2016 @ 13:14
    Dennis Aaen
    1

    Hi PJ,

    Oh I misunderstood this. Follow what Dennis says and you should be good.

    /Dennis

  • PJ 16 posts 60 karma points
    Jun 10, 2016 @ 14:12
    PJ
    1

    Hi Dennis,

    Thanks for your reply.

    Makes sense however, I can create document type folder but then there is nothing I can do with it and I cannot allow it as Children under home because I cannot see it on the list of possible child nodes in permissions.

    Thanks, PJ

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Jun 10, 2016 @ 14:43
    Dennis Adolfi
    0

    Hi PJ.

    Look at this gif. Easier to explain with a video:

    enter image description here

    Hope this helps you!

    / Dennis

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Jun 13, 2016 @ 06:41
    Dennis Adolfi
    0

    HI PJ.

    Did it work out for you? Did the video i posted make sense or should i add a step by step approach for you? Let me know if / how i can help.

    / Dennis

  • PJ 16 posts 60 karma points
    Jun 20, 2016 @ 13:42
    PJ
    100

    Hi Dennis,

    I made it work by nesting content pages like test/test2 where "test" is a page and "test2" is a page. I didn't manage to make it work where "test" would be a folder in Content not a page.

    Many thanks for your help.

    PJ

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Jun 20, 2016 @ 13:44
    Dennis Adolfi
    0

    Glad that it worked out for you eventuallty PJ!

    Have a great day!!

Please Sign in or register to post replies

Write your reply to:

Draft