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

Forums / General Discussions / internal document link, relative vs absolute

internal document link, relative vs absolute

2 posts, 0 answered
  1. Steve
    Steve avatar
    1 posts
    Registered:
    11 Sep 2014
    20 Nov 2014
    Link to this post

    Hello, inside a content block - if i link to an internal document using the Document Manager it generates the below code.

    <p><a sfref="[documents|OpenAccessDataProvider]da148791-b1e8-6477-b58f-ff0008709da"
    href="http://testsite.localserver.com/docs/default-source/documentone.pdf?sfvrsn=2"
    title="hello there">hello there</a></p>

    As you can see the link it generated includes the full path to the local domain on this machine which is testsite.localserver.com

     When I migrate this online, will it know to change the path and target the internal document on the new domain?

     

  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    Registered:
    26 Mar 2015
    24 Nov 2014
    Link to this post
    Hello Steve,

    The links in your content blocks will not automatically update once you change your domain. You will need to alter them yourself. You can follow the approach in this blog post in order to ease this process.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered