1

I am trying to fix issues related to having Umbraco installed under a virtual directory (i.e., not under root, but under http://example.com/dir/site1).

According to some posts, this can be resolved by using:

<ResolveUrlsFromTextString>true</ResolveUrlsFromTextString

But none of these posts, and not even the documentation page on that setting, say where you can use it. The documentation suggests under notications, but that gives an error "unrecognized setting".

Any idea where this setting should be placed in umbracoSettings.config?

I'm using Umbraco version 7.3.0 assembly: 1.0.5750.18157.

Abel
  • 56,041
  • 24
  • 146
  • 247

1 Answers1

1

It seems to work in both v4 and v6 sites while located under content, as in

<settings>
    <content>
        <ResolveUrlsFromTextString>true</ResolveUrlsFromTextString>
    </content>
</settings>
Jannik Anker
  • 3,320
  • 1
  • 13
  • 21
  • I've tried that too no avail. Perhaps I misunderstand what it should do, I'm trying to run umbraco under a virtual directory, under which I've added a webapp which in turn points to the root of umbraco. Or are there other settings I should apply? – Abel Nov 10 '15 at 18:41
  • Btw, the site runs, but templates in admin give a 404, I tried adding them again but to no avail. – Abel Nov 10 '15 at 18:42
  • What version are we talking here? – Jannik Anker Nov 10 '15 at 19:01
  • Sorry, I should have written that in my question (just updated it). Version 7.3.0. – Abel Nov 10 '15 at 19:16
  • Alright, don't know 100% about v7, but if the setting isn't there to begin with I suspect you might be outta luck... – Jannik Anker Nov 10 '15 at 21:39
  • For now I'm going to consider it a bug of Umbraco. I'll see if I can fix it, perhaps with a few simple rewrite rules on the server, or at source level. Since your answer answers the question of _where_ it ought to be placed, I'll accept it, thanks :) – Abel Nov 10 '15 at 23:20