5329 Posts in 1601 Topics by 1169 members
Page: 1 2
|Go to End|
21 August 2010 at 11:14pm
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?
24 August 2010 at 6:47am
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
Page: 1 2
|Go to Top|