+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Custom URL Formats for Sitefinity Content Modules (News)

Custom URL Formats for Sitefinity Content Modules (News)

2 posts, 0 answered
  1. Marco
    Marco avatar
    11 posts
    Registered:
    19 Mar 2015
    09 Jun 2015
    Link to this post

     Hi all,

    I followed the steps in creating a custom url for the News based on (http://www.sitefinity.com/blogs/slavo-ingilizovs-blog/2011/10/19/custom_url_formats_for_sitefinity_content_modules)

    I am having an issue that when I preview the draft or unpublished news it throws a 404 error.

    If I publish the news and preview it, this works all perfect.

    So the error/bug is when I want to preview the draft or unpublished news the url doesn't have the sitefinity url rules (query) that it suppose to. 

    example: /media-centre/news/2015/05/14/2014/investorsurveysummary?sf-lc-status=Master&sf-content-action=preview&sf-auth=fn​sadsad

    instead it gives us /media-centre/news/2015/05/14/2014/investorsurveysummary which is the live link but it won't show because the visibilty is off since the news is draft or unpublished. Is there a workaround for this to maintain the query for custom url formats in Sitefinity?

     Thanks in advance!

  2. Angel Moret
    Angel Moret avatar
    29 posts
    Registered:
    27 Sep 2016
    24 Jun 2015
    Link to this post
    Hello Marco,

    I have attempted to reproduce this in our local environment without any success, as the preview functionality works properly with the custom urls as shown in this video

    Can you verify the value for the urlFormat field is set as noted in this documentation article?
     
    Regards,
    Angel Moret
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered