1 February 2011 at 6:03am
I've been looking at a few CMSs to build sites in and the two I've found most promising are SilverStripe and ModX. I've been leaning more towards SilverStripe but there is one feature of ModX that looks pretty useful:
When linking to pages in your site in ModX you just use the page's ID. The URL then gets resolved automatically. This means that if the URL/name of a page is changed then links from other pages still work.
Is there an easy way to do something like this in SilverStripe or is linking to other pages done just using the URL? The page IDs don't seem to be displayed anywhere in the CMS.
I'm worried that after setting up links from say the home page to other parts of the site, if we then give the client access to the CMS and they change the URL of a page then none of the links will work any more.
1 February 2011 at 8:25am
When linking to pages in the CMS using the insert link sidebar, the links are inserted in the format "[sitetree_link id=...]", so they are in fact being linked to by ID. These are rewritten on page load. If you insert a link and then view the raw HTML you can see this.
Additionally, if a user visits an old URL that has been renamed, they are automatically redirected to the new URL.