I just install a new instance of umbraco on my server but when i
click on my properties tab "link to document" is empty or " / " instead
if the real path
We got the link to document to work by setting the web.config property of
<add key="umbracoUseDirectoryUrls" value="false" /> to <add key="umbracoUseDirectoryUrls" value="true" />
and in umbracoSettings.config
<useDomainPrefixes>true</useDomainPrefixes> <!-- this will add a trailing slash (/) to urls when in directory url mode --> <addTrailingSlash>false</addTrailingSlash>
Just a thought, did you install Umbraco into a subfolder of your website or on the root? It needs to either be on the root or in a virtual directory / application.
Link to document
I just install a new instance of umbraco on my server but when i click on my properties tab "link to document" is empty or " / " instead if the real path
Any help please
fuji
It will be '/' if it's the root node unless you have turned on full paths in the umbracoSettings.config.
Where do i change that Daniel??
Daniel,
I have change my <useDomainPrefixes>true</useDomainPrefixes> and still nothing....
Open ~/config/umbracoSettings.config (or use the Config Editor package)
Look for the <useDomainPrefixes>false</useDomainPrefixes> and set to true.. default is false.
You need to republish the site and possibly touch the web.config... it'll work.. no worries
Still not working!!!
Ive changed my web.config as well...
By the way by website is on our local Dev server atm..but still my Link to Document is "/"
Any other suggestion...?
The / just means the root of the site... it will always be for the root unless you have useDomainPrefixes enabled...
Right-Click the "Content" node and select republish entire site. see what happens.
If you don't have a domain set for a node, it will use the current domain.
Still nothing....
I have removed those lines as well from umbracosettings.config
<!-- this will add a trailing slash (/) to urls when in directory url mode -->
<addTrailingSlash>false</addTrailingSlash>
Hmm.. that's an oddity.
First.. you shouldn't remove lines from the umbracoSettings.config... might have a negative impact .. you never know.
What happens when you create a new node after setting useDomainPrefixes to true ?
The link to Document is good and i cant click on it to view the related page but not the default node.
Ive also tried to change the Hostnames: i get this result
Instead my Link to document should be
/net4/fujibraco/default.aspx
Daniel,
We got the link to document to work by setting the web.config property of
<add key="umbracoUseDirectoryUrls" value="false" /> to <add key="umbracoUseDirectoryUrls" value="true" />
and in umbracoSettings.config
<useDomainPrefixes>true</useDomainPrefixes>
<!-- this will add a trailing slash (/) to urls when in directory url mode -->
<addTrailingSlash>false</addTrailingSlash>
Fuji
Just a thought, did you install Umbraco into a subfolder of your website or on the root? It needs to either be on the root or in a virtual directory / application.
In a virtual directory....with an instance of v 4.7
You probably already checked this but it shouldn't be a plain virtual directory, needs to be configured an an application
is working on a reply...