More in this section

Forums / General Discussions / urlRewriter is not working properly

urlRewriter is not working properly

2 posts, 0 answered
  1. ravi shankar
    ravi shankar avatar
    18 posts
    13 Feb 2010
    12 Apr 2010
    Link to this post
    Hi Sitefinity,

    I have Four provider in generic content module in which i have metakeys like position, name etc...
    I have done the project in arabic and i am using postion for urlRewriteFormat where position is of integer type.

    Below is the settings in web.config file content for Activities provider

    <add name="Activities" urlRewriteFormat="[Position].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="True" defaultMetaField="Name" securityProviderName="" allowLocalization="True" allowVersioning="True" applicationName="/Activities" allowWorkflow="False" allowComments="false" commentsModeration="true" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Cms.Engine.Data.Providers.DefaultProvider, Telerik.Cms.Engine.Data"/>

     The fullstory url is appending extra character at the end.

    where 20 is the position number and adding extra character like -2026000404.

    Expected url:

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    12 Apr 2010
    Link to this post
    Hi ravi shankar,

    Thank you for using our services.

    This is actually expected behavior if your URLs are not unique. Since you have more than one posts with the same postion field the system should know exactly which item to pull out. This is why it is adding the additional id - make unique URLs. If you set the URL rewrite format to something not so general then the additional chars will not be added.

    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered