internal document link, relative vs absolute

Posted by Community Admin on 03-Aug-2018 00:32

internal document link, relative vs absolute

All Replies

Posted by Community Admin on 20-Nov-2014 00:00

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?

 

Posted by Community Admin on 24-Nov-2014 00:00

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
 

This thread is closed