Blog naming - General Discussions - General Discussions - Progress Community
 General Discussions

Blog naming

  • Blog naming
  • We want to set up a blog but just one. We want the URL to be but when we set up a blog SF sets it to be which of course seems redundant.

    How can we do this?
  • Hello Embrace,

    By default the URL of a Blog consists of its Title ( "/[UrlName]" ), and the URL of a BlogPost is generated as "/[Parent.UrlName]/[PublicationDate, 0:yyyy'/'MM'/'dd]/[UrlName]". Since we are constructing the full URLs dynamically the final URL will always consist of the Blog's location i.e. the page where you have dropped the BlogPosts control (for instance If you wish to customize the way BlogPost URLs are constructed you will need to create a custom provider for blogs, inherit from OpenAccessBlogProvider and override the GetUrlFormat method, specifying the desired urlFormat. For more information and sample code, please take a look at this forum thread.

    All the best,
    Boyan Barnev
    the Telerik team

  • I was curious about how to do this as well. It seems the link you supplied does not work. Do you have a link that shows sample code in how to do this?
  • Hi Willie,

    I am very sorry for the inconvenience caused. You could find the the above mentioned thread here:

    Kind regards,
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items