Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Change url appearance

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

Page: 1 2
Go to End
Author Topic: 3992 Views
  • Jesse B.
    Community Member
    2 Posts

    Re: Change url appearance Link to this post

    Thanks zenmonkey, I have thought of the 301 option.

    I guess what Im looking for is a way to implement url aliasing.

    for instance as I understand it, in drupal a url has an internal name of "node-1", and can be assigned an alias such as "category/sub-page.htm" which then is populated to all internal links, although the internal name "node-1" is retained. Then if you at some point change it to "new-name-of-category/new-name.htm" it just works because the internal name was always "node-1" and you only changed the alias.

    Is ther anyway to do something like this with silverstripe, for instance by building a new module for it, or is the issue that silverstripe does not use this seperation of machine name and human readable name, so aliasing is impossible?

  • zenmonkey
    Community Member
    528 Posts

    Re: Change url appearance Link to this post

    You'd have to overload the Director which controls URL re-writes. Technically the system already parses the URL to convert it from a human/seo readable for to a system object.



    I've never tried to overload a core method beyond some login forms and cms actions. I don't know where to point you to for help beyond te above documentation

    Good Luck

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