Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Override URL field

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

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

Page: 1
Go to End
Author Topic: 1235 Views
  • UncleCheese
    4085 Posts

    Override URL field Link to this post

    I have a client who has a news page with many articles on it. The articles are just short blurbs, so they don't click through to longer versions. Ordinarily, I would have put a little article manager on this one page and have the client create them that way, but they really wanted to see the articles as children of the news page in the site map.

    So the problem is, each one of these articles creates its own URL based on the title of the article, when in reality, it can never be viewed except on its parent page. This isn't a problem on the public site because there are no links to these URLs, but in the CMS, the client is hitting the "published site" button at the bottom and Silverstripe dumps them out on a faulty URL.

    My question -- can I override the URL in all of these article pages so that they all go to /news/ (their parent) instead of /a-really-ridiculously-long-article-name/?

  • mbellino
    Community Member
    32 Posts
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.