More in this section
Forums / General Discussions / Blog naming

Blog naming

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
4 posts, 0 answered
  1. Embrace
    Embrace avatar
    17 posts
    10 Jul 2008
    16 Apr 2011
    Link to this post
    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?
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    02 Jan 2018
    18 Apr 2011
    Link to this post
    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

  3. Willie
    Willie avatar
    1 posts
    12 Sep 2007
    12 May 2011
    Link to this post
    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?
  4. Tihomir
    Tihomir avatar
    23 posts
    09 Dec 2016
    12 May 2011
    Link to this post
    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
4 posts, 0 answered