Try Now
More in this section

Forums / General Discussions / URL Problem

URL Problem

2 posts, 0 answered
  1. Gaurav
    Gaurav avatar
    38 posts
    30 Nov 2010
    21 Apr 2011
    Link to this post
     I want to hide en from  www.site.com/en/
    which represent culture code . and In  code I am reading from culture code from URL
    I want to hide culture code from URL but Still I want to read the culture code from URL

    Is there is any way to achieve this

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Oct 2016
    21 Apr 2011
    Link to this post
    Hello Gaurav,

    The PersistanceMode = PathPrefix does not allow you to remove the culture from the url. We do not support methods that read current culture from cookie or session. Trying to remove the localization prefix from the url will result in incorrect localization for your website.

    All the best,
    Ivan Dimitrov
    the Telerik team

2 posts, 0 answered