Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 29, 2011 @ 09:07
    Fuji Kusaka
    0

    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

  • Daniel Bardi 924 posts 2556 karma points
    Mar 29, 2011 @ 09:17
    Daniel Bardi
    0

    It will be '/' if it's the root node unless you have turned on full paths in the umbracoSettings.config.

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 29, 2011 @ 09:26
    Fuji Kusaka
    0

    Where do i change that Daniel??

     

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 29, 2011 @ 09:37
    Fuji Kusaka
    0

    Daniel,

     

    I have change my  <useDomainPrefixes>true</useDomainPrefixes> and still nothing....

  • Daniel Bardi 924 posts 2556 karma points
    Mar 29, 2011 @ 09:37
    Daniel Bardi
    0

    Open ~/config/umbracoSettings.config  (or use the Config Editor package)

    Look for the <useDomainPrefixes>false</useDomainPrefixes> and set to true.. default is false.

  • Daniel Bardi 924 posts 2556 karma points
    Mar 29, 2011 @ 09:38
    Daniel Bardi
    0

    You need to republish the site and possibly touch the web.config... it'll work.. no worries

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 29, 2011 @ 09:46
    Fuji Kusaka
    0

    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...?

     

  • Daniel Bardi 924 posts 2556 karma points
    Mar 29, 2011 @ 09:50
    Daniel Bardi
    0

    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.

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 29, 2011 @ 09:53
    Fuji Kusaka
    0

    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>

  • Daniel Bardi 924 posts 2556 karma points
    Mar 29, 2011 @ 10:03
    Daniel Bardi
    0

    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 ?

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 29, 2011 @ 10:11
    Fuji Kusaka
    0

    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

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 30, 2011 @ 13:17
    Fuji Kusaka
    0

    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

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 30, 2011 @ 13:17
    Fuji Kusaka
    0
  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 30, 2011 @ 13:17
    Fuji Kusaka
    0
  • Tom Fulton 2030 posts 4996 karma points c-trib
    Mar 30, 2011 @ 14:13
    Tom Fulton
    0

    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.

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 30, 2011 @ 14:15
    Fuji Kusaka
    0

     

    In a virtual directory....with an instance of v 4.7

  • Tom Fulton 2030 posts 4996 karma points c-trib
    Mar 30, 2011 @ 14:19
    Tom Fulton
    0

    You probably already checked this but it shouldn't be a plain virtual directory, needs to be configured an an application

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies