How to rename the /Umbraco directory? Options
jhildeman
Posted: Friday, August 22, 2008 5:20:56 PM

Rank: Enthusiast

Joined: 6/12/2007
Posts: 35
Location: Appleton, WI USA
I’m looking for a bit of advice on renaming the /Umbraco directory.

I have found posts that definitely imply that people are doing this and it is common practice and perhaps even recommended, such as postst3884. I have also found posts that state this causes problems, particularly in v3.x, such as postst5688.

I have tried two approaches to this problem and both have failed. I am looking for the best practice here.

First, I tried the straight rename of the /Umbraco directory to /BackOffice and then updated web.config.appSettings.umbracoPath = /BackOffice. This failed because of some hardcoding in TinyMCE. Specifically, umbraco_client\tinymce\plugins\advlink\editor_plugin.js line 51 (see posting for more details).

Second (after abandoning the first approach), I tried urlRewriting rules that leave the Umbraco directory in place (i.e. leave it like the standard install) but allow me to accept requests from /BackOffice and re-route them to /Umbraco. The problem here is that if I DON’T set umbracoPath = /BackOffice then my toolbar will sit in the wrong place (per my workitem). If I DO set umbracoPath = /BackOffice, then all my resources disappear (e.g. [content], [developer] etc) because they don’t really exist in /BackOffice.

What's a guy to do?

Jimbo
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.