Jump to:

17488 Posts in 4473 Topics by 1978 members

Archive

SilverStripe Forums » Archive » Flat URL namespace

Our old forums are still available as a read-only archive.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2059 Views
  • Anonymous user
    Avatar
    Community Member
    1 Post

    Flat URL namespace Link to this post

    I can't believe I'm the only/first one asking this question; is the SS URL namespace completely flat? When I create a page and go to the Content->Meta-data tab to edit the URL, it presents me with a static portion (http://www.example.com/) and a variable portion. However it looks like the variable portion does not allow for subdirectories or any other way to group my pages together. For example, I can see having a "blog" page with the same name as an "ecommerce" page.

    I would expect to do have URLs like ".../blog/issue1", ".../blog/issue2", ".../ecommerce/product1", ".../ecommerce/product2". Or even breaking blog entries up into year/month/day type URLs.

    Am I missing something with SS? I realize that I could probably go through and make each URL unique just by adding enough description to it, but that gets increasingly tedious as the number of pages grows and is subject to human error. Almost every site in existence today works this way. What am I missing?!?

    Thanx!
    Richard

    P.S. I searched for the answer to this question in both the forums and Trac but was unable to find anything.

  • zyko
    Avatar
    Community Member
    66 Posts

    Re: Flat URL namespace Link to this post

    search for sublevel or urls.
    have a look at the discussion at:
    http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/526

    seems to be 'hard to implement'...

    g
    helmut

  • Anonymous user
    Avatar
    Community Member
    1 Post

    Re: Flat URL namespace Link to this post

    Helmut,

    Thanks for the great link to a ongoing discussion! I'm going to followup on that thread. I have no idea how I missed it - maybe because I didn't search for 'sublevel' URLs.

    Later...
    Richard

  • Willr
    Avatar
    Forum Moderator
    5163 Posts

    Re: Flat URL namespace Link to this post

    Thanks for the great link to a ongoing discussion!


    And what a ongoing discussion it has been! Before we hear another round of why SilverStripe needs this. I like Sams post on the dev mailing list

    Adding backslashes to URLSegments would be a lesson in pain.
    http://groups.google.com/group/silverstripe-dev/browse_thread/thread/ed0ca8a196f04e1f/516ef9d5d16503cb?#516ef9d5d16503cb

    And basically unless we find someone or a group willing to take it on Or a / few projects willing to finance to a extent the incredible amount of man hours involved this will likely stay firmly on the 'Nice to have..' list.

    2059 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.