internal document link, relative vs absolute - General Discussions - General Discussions - Progress Community
 General Discussions

internal document link, relative vs absolute

  • internal document link, relative vs absolute
  • 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="testsite.localserver.com/.../documentone.pdf
    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?

     

  • 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