More in this section

Forums / General Discussions / Force www on my host name

Force www on my host name

2 posts, 0 answered
  1. Adam
    Adam avatar
    17 posts
    26 Feb 2009
    17 Jun 2011
    Link to this post
    Hi all,

    What is the recommended way with Sitefinity 4.1 to make sure that all user url paths are pre-pended with www? Some of my users try to use without www in front of it and I occasionally see weird errors when they do that.

    How do I force the url to stay at regardless of what they type for the url? Any pointers to samples or docs would be fantastic.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    20 Jun 2011
    Link to this post
    Hello Adam,

    This is related to host and its settings. We do not get the absolute url. We use relative url ( for example we resolve the dynamic url to the relative path ) and then append it to the domain name. So it depends on whether you have set www as a subdomain and that all requests to your domain should be valid for www.

    Ivan Dimitrov
    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
2 posts, 0 answered