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

Forums / Developing with Sitefinity / External pages and relative links

External pages and relative links

2 posts, 0 answered
  1. Anthony Smith
    Anthony Smith avatar
    34 posts
    Registered:
    08 Dec 2009
    24 Feb 2010
    Link to this post
    Hi,

    I'm looking to use the external links facility to link within the website.

    Instead of specifying an absolute link, is there a way I can specify a relative link, which won't break when I deploy the site in a live environment?

    Thanks,

    Anthony
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    24 Feb 2010
    Link to this post
    Hello Anthony Smith,

    You can use relative urls like ~/Default.aspx if the page is located in the solution.

    All the best,
    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.
2 posts, 0 answered