5521 Posts in 1734 Topics by 1223 members
|Go to End|
18 January 2010 at 11:19pm
is there a way to edit the meta-data URL? I want something like my-site/news/2009/article-title/ because in one of our current projects the news title often is similar to a products page title and I'm afraid, the client won't pay so much attention to this issue then we do.
Thanks for any help in advance.
19 January 2010 at 9:05am
If you are using 2.3.4, then the url structure will be flat, ie there is no nesting of urls. First segment always links to a page and the next segments are parsed as parameters to the request.
With 2.3.4 you would need to create the custom pagetype (NewsProviderPage, or whatever you call it) and configure routing so 2009 and article-title are used to display the article. You need to implement the logic yourself though, and everything would need to happen within the NewsProviderPage.
Other solution is 2.4 upgrade and enabling nested urls. Then you would create the holder named 'news', then under that a holder named 2009, and then under that you would put articles. Caveat: nested urls and 2.4 are not stable version, although we are using them for several projects and they seem pretty usable. Might be worth a try in your case.
|Go to Top|