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

Forums / Deployment / Change root folder

Change root folder

8 posts, 0 answered
  1. Jason Elliott
    Jason Elliott avatar
    11 posts
    Registered:
    21 Sep 2009
    14 Jan 2010
    Link to this post
    Hi-

    I just completed my first design with sitefinity on localhost. I used a blank project and the actual project name is "Sitefinity_3_7_2057_community_BlankProject". I now need to install on the server with the root directory at "/".
    Where the top level project files will set in the root of the "http" directory.

    I noticed when I uploaded images via the admin panel, the paths are routing to "/Sitefinity_3_7_2057_community_BlankProject/images", and I need them to be located at "/images". I don't know how to change the paths of each file or in a config file or maybe a database?

    Thanks in Advance.
    Jason
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Jan 2010
    Link to this post
    Hello Jason Elliott,

    If you are using Sitefinity 3.6 or 3.7 you should not have with the images path, because we use dynamic links. Actually we only get the relative path that starts from your library and include the provider name. The default urlRewriteFormat is ~/{Provider}/{LibraryName}/[Name].sflb.ashx which does not include the virtual path where you have hosted the website.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Jason Elliott
    Jason Elliott avatar
    11 posts
    Registered:
    21 Sep 2009
    14 Jan 2010
    Link to this post
    Thanks. So I should not have to worry about the paths. How do I change to root directory. Thanks.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Jan 2010
    Link to this post
    Hi Jason Elliott,

    The root directory should be predefined from your host. Generally ti is called wwwroot and you cannot rename it.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Jason Elliott
    Jason Elliott avatar
    11 posts
    Registered:
    21 Sep 2009
    14 Jan 2010
    Link to this post
    I think you may have misunderstood my question. My project is defined in a subdirectory. If I upload it now it will be /root/projectname/default.aspx. I need to have /root/default.aspx.

    Thanks.
    Jason
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Jan 2010
    Link to this post
    Hi Jason Elliott,

    It is pretty obvious that you should upload the project files to root/ folder.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. prespsc
    prespsc avatar
    32 posts
    Registered:
    19 Apr 2010
    06 Aug 2010
    Link to this post
    For the Sitefinity 4 deployment tool, when using the 'Filelocation', how can one create the project at the root rather than having the tool creating a subfolder?
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    12 Aug 2010
    Link to this post
    Hi Preston Cooksey,

    The ProjectManager can create only virtual directories of a given website. It cannot create website and place your files there. The website should be created in IIS which is the minimum requirement.
    We will make some improvements to the ProjectManager, but at the time being I cannot tell you whether we will provide requested option as a part of the manager.

    Greetings,
    Ivan Dimitrov
    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
Register for webinar
8 posts, 0 answered