Try Now
More in this section

Forums / Developing with Sitefinity / Tilde Operator Issue

Tilde Operator Issue

2 posts, 0 answered
  1. Neil
    Neil avatar
    30 posts
    20 Jan 2009
    22 Mar 2011
    Link to this post
    Hi folks, I'm having the wierdest issue on a dev box for a client. All of the master pages in the site use "~/" in the server based controls to resolve to the root images folder and links within the menu. Over the weekend I was working on a custom 404 page implementation, and now Sitefinity is not properly resolving the root of the application?

    It is using the friendly url subdirectory in the image and link urls. In addition, the theme set within Sitefinity is incorrectly referencing the ap_themes directory as well? If anybody has encountered this already please let me know how you addressed the issue. I do have a support ticket open but have not received a response yet.

    One point I forgot to add here: the pages all work properly until I click on one top level link to a specific page, then the others all fail in this manner, but I have nothing in the sitefinity log indicating that there was a problem.
  2. Ivan
    Ivan avatar
    478 posts
    16 Jun 2015
    28 Mar 2011
    Link to this post
    Hi Neil,

    can you please elaborate a bit on the implementation of your 404 handling? It is hard to think of what could go wrong, but having in mind that we are using RoutingEngine (http://weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx), the webforms implementation, it is possible that adding a top level (and very broad) route could change Sitefinity's behavior.

    All the best,
    the Telerik team
2 posts, 0 answered