Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Clean URL's

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

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2 3
Go to End
Author Topic: 23419 Views
  • CodeGuerrilla
    Avatar
    Community Member
    105 Posts

    Re: Clean URL's Link to this post

    Hi I'm new here and not trying to create any flame wars, but couldn't you just implement a Intercepting Filter on the front controller (I know this may take some work), then make a filter for the nested url's?

    This way you could use it or not and would also allow lots of other cool stuff.

    WACT has some good information on such things:

    http://www.phpwact.org/pattern/front_controller
    http://www.phpwact.org/pattern/intercepting_filter

  • evren
    Avatar
    Community Member
    37 Posts

    Re: Clean URL's Link to this post

    I belive that SS must keep going like this way. Current system is perfect.

    Maybe makes some people angry but just my opinions
    Let me tell why.

    Current rendering of URL is meaningful for visitors and also has the benefits of SEO.
    And my opinion is this is much more better cos with this way you are completely free do assign any word for any page. And also allows to give easier URL's to people.

    The MOST IMPORTANT PART IS to change and move the pages freely inside the site tree without changing their address!!! I have more than 150 pages and I know the need for moving page but also I know the addressing and search engine trouble after that.
    Thanks to SS. I love the new way.

    Another example, I have a file manager module with iframe in 3.rd menu level in my site. Dosent need and also musnt be on homepage.
    But I can give people an URL like this www.mysite.com/file
    Isn't that nice?

    Or create acommunity area under a sub category give people around pages or galleries, but still be able to give people URL's with their usernames etc.
    www.mysite.com/dennis

    Or a logon screen for SS itself or ext application. Do you want to be forced to put logon page to the main page. Or a top level menu category to be able to use an URL like www.mysite.com/login

    Or think commercial. Advertisements, promotions...
    www.mysite.com/win-a-bmw
    www.mysite.com/2009offer
    www.mysite.com/promotions
    I'l not prefer www.mysite.com/products/new_summer/promotons

    But I also think over hierarcial URL's. what does it offer more than this?
    Not SEO, please no
    Not customer pleasure, who cares. Think that they care, is there a matter?

    Only think that I belive is being able to understand the category of the page that I visit. Dont need, I see it on the menu.

    Anyway, please do not swear me
    And just a request from development team, is it possible to keep old style URL if there will be an update on this?

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Clean URL's Link to this post

    I don't think it has to be zero sum solution ; having automatic nested URL's doesn't mean we'd have to drop the flexibility of picking your own URL.

    I still like Sam's idea of just having SS build a nested URL's for you , with the option of changing it , if needed.

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Clean URL's Link to this post

    I believe how it is going to be implemented when the nested url feature gets moved into the core release ( currently being worked on in the separate branch) is that it is going to be disabled by default. Eg keep the current system. If you want to use the longer urls then you can turn it on / off in the config file. Thats how I think its going to work anyway

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Clean URL's Link to this post

    That's fine with me. I'd prefer it to be on by default, but it's really not that hard to do it, so it really isn't a big deal.

    Will it be making it into stable core 2.3 or 2.4?

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Clean URL's Link to this post

    2.4 At the earliest.

    23419 Views
Page: 1 2 3
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.