Should note that the with the first method '/umbraco/umbraco.aspx' will still function, where the second method it will not, not sure if this is important to you.
I really appreciate your views on the problem. But for me no luck still.
I tried second option all worked well till i open the admin panel :).
i have changed exactly the same as you have described.. But when I logged in to admin panel using IE, it shows me numerous JavaScript errors.
i do believe that there are many references to that folder. When I debug that folder what i found is that the exception was generated from XLoadTree.js.
Please help me if anyone is having better views on this scenario.
I would be very careful about changing the directory structure of the install. That will (as you noted above) lead to issues within the code (compiled code for trees, master pages, and the like).
I would go with option 1. If that isn't great you can always create a redirect in IIS or via a user control as well.
We have done the second option with Umbraco 2 and 3 regularly, and but left the majority of the Umbraco code in the ./umbraco directory. But when I tried this a couple of days ago with an upgrade to version 4 it gave me Javascript errors in IE8, I did not notice any errors with FF3. I will have another look soon and see if I can get it to work.
This is taken directly from the official Umbraco (pro) skinning guide.
"You might want to rename the Umbraco folder into your own name such as "admin". To do this, simply rename the folder and afterwards open the file /web.config. Find the element called /configuration/appSettings/umbracoPath. Change the value from "umbraco" to "admin"."
So if this is not working for everyone this should be listed as a bug.
I'm not sure about the Pro Version but changing the path in the standard version does require you to go though the code and make changes to a few files. I've done it a couple of times but I wouldn't recommend it unless you are willing to redo changes whenever there's an update etc.
If you do need to change it (as I was requested), you can use Visual Studio to search through the site and look for javascript code and style sheets that references umbraco/. You can either then change this to path you need or use in some cases use the umbraco "base" path (works in js, not is css). Also go through the master pages and fix them too. The things that seemed to break were the xtree and the images for the "message box" in the bottom right.
This is off the top off my head though. Sorry for not being more specific, but I did the process above without much difficulty (but it does take time, don't do a blind search and replace!). I also didn't touch the language files (which reference it too).
Just as a reference: I found this blog post about fixing the javascript errors after renaming the umbraco admin path. This method uses url rewriting for the javascript files, but I think the css code still needs a manual change.
I hope this is useful to anyone checking out this forum topic, although personally I would avoid renaming the admin path until there is a worry free solution.
What is your reason for needing to change the Umbraco path? It's not as easy as it looks at the moment so if you need to get your forms etc. working again then you should change the value back to the original.
Thanks for your reply. I changed my umbracoPath & umbracoResolvedPaths and changed way of submitting form by taking umbracoPath value, it started working. Reason behind changing umbracoPath is to stop allowing access to any public user. If is there any other way, please suggest.
Have been trying various ways to rename the /umbraco folder but there was always something that wouldn't work, even some parts of Umbraco seem to be hard coded to /umbraco.
What is the correct way to do this with Umbraco 7.5.10? I just want to change the admin panel url to a custom one (i.e. www.site.com/umbraco to www.site.com/custom).
It looks like the urlrewriting.config is out-dated, per the following written in that file
URLRewriting.net is obsolete and will be removed from Umbraco in the future.
If you want to do rewrites, make sure to use IIS URL rewrite: https://www.iis.net/downloads/microsoft/url-rewrite
The advantage of using IIS rewrite is that it is much faster, much less CPU intensive and much less memory intensive.
Can i change admin panel URL?
Hi All,
Is there any configuration in admin panel or in umbraco settings folder files using which i can change umbraco admin panel url?
basically what i want to do is i want to change http://myweb/umbraco/umbraco.aspx to http://myweb/myname/umbraco.aspx.
Please let me know if there is any way out or you didn't get my question.
Regards,
Jigar
Hi Jigar,
You can do this 2 ways I believe
First:
Add this rule to your "/config/urlrewriting.config" file
Second
You also have to change the path within any existing masterpages to match the above.
I've never used this in anything other than a quick test so i'd use the first method for sure.
Hope this helps
Rich
Should note that the with the first method '/umbraco/umbraco.aspx' will still function, where the second method it will not, not sure if this is important to you.
Rich
Sorry (where's the edit feature!!)
The first method does not work properly so try the second.
Cheers, Rich
Well, Thanks for above answers rich.
I really appreciate your views on the problem. But for me no luck still.
I tried second option all worked well till i open the admin panel :).
i have changed exactly the same as you have described.. But when I logged in to admin panel using IE, it shows me numerous JavaScript errors.
i do believe that there are many references to that folder. When I debug that folder what i found is that the exception was generated from XLoadTree.js.
Please help me if anyone is having better views on this scenario.
Thanks all Umbraco lovers.
Jigar
hmm, don't know then, maybe it's not easy to do.
However, I assume it must be possible as the 'Pro' version allows you to 're-brand' Umbraco.
Rich
I would be very careful about changing the directory structure of the install. That will (as you noted above) lead to issues within the code (compiled code for trees, master pages, and the like).
I would go with option 1. If that isn't great you can always create a redirect in IIS or via a user control as well.
Thanks,
Nik
I've seen posts regarding this before, but no quick solutions although it should eventually be possible.
The pro version "allows" you to rebrand the backend, but as far as I know provides no easy mechanism for doing this.
Dan
Very true, I also believe that.
May be some experinced or seniour guys can help out.
For now.. Waiting... :)
Regards,
JIgar
We have done the second option with Umbraco 2 and 3 regularly, and but left the majority of the Umbraco code in the ./umbraco directory. But when I tried this a couple of days ago with an upgrade to version 4 it gave me Javascript errors in IE8, I did not notice any errors with FF3. I will have another look soon and see if I can get it to work.
This is taken directly from the official Umbraco (pro) skinning guide.
"You might want to rename the Umbraco folder into your own name such as "admin". To do this, simply rename the folder and afterwards open the file /web.config. Find the element called /configuration/appSettings/umbracoPath. Change the value from "umbraco" to "admin"."
So if this is not working for everyone this should be listed as a bug.
Rich
First i tried to do that using the Addding the url rule to "/config/urlrewriting.config" file
Here in our case the umbraco version is 4.2 so there are two "urlrewriting.config" one is in "Umbraco" folder and another is in "Umbraco4.2" folder.
i tried to chagne the same in both of the folders but non of them worked as expected.
I am working on IIS 6 (Pre - production) and later on i would be moving to IIS 7.
Please help of this issue.
Thanks
JIgar
(P.S :- if such things available with (Pro) version only, please kindly update here so that i can convince my client to use the same.)
This should be available in the Pro version but believe it's currently not working as described.
Rich
Thanks Rich...
Humm so what i understood is that this Features is available with "Pro Version" and even in "Pro Version" right now it is not working.
Please clarify if i am wrong.
Thanks,
Jigar
Hi Jigar,
I'm not sure about the Pro Version but changing the path in the standard version does require you to go though the code and make changes to a few files. I've done it a couple of times but I wouldn't recommend it unless you are willing to redo changes whenever there's an update etc.
If you do need to change it (as I was requested), you can use Visual Studio to search through the site and look for javascript code and style sheets that references umbraco/. You can either then change this to path you need or use in some cases use the umbraco "base" path (works in js, not is css). Also go through the master pages and fix them too. The things that seemed to break were the xtree and the images for the "message box" in the bottom right.
This is off the top off my head though. Sorry for not being more specific, but I did the process above without much difficulty (but it does take time, don't do a blind search and replace!). I also didn't touch the language files (which reference it too).
Just as a reference: I found this blog post about fixing the javascript errors after renaming the umbraco admin path. This method uses url rewriting for the javascript files, but I think the css code still needs a manual change.
http://blogs.thesitedoctor.co.uk/tim/CommentView,guid,cf6f0226-db49-460d-8de9-7ab3075d6e84.aspx
I hope this is useful to anyone checking out this forum topic, although personally I would avoid renaming the admin path until there is a worry free solution.
Chris
@rich
yeah. that doesn't seem to work.
Not sure if this is similler to this, but i changed my umbracoPath value to 'umbraco1'. And my all forms stopped working.
Please suggest.
Hi Dhiren and welcome to our :)
What is your reason for needing to change the Umbraco path? It's not as easy as it looks at the moment so if you need to get your forms etc. working again then you should change the value back to the original.
/Jan
Hi Jan,
Thanks for your reply. I changed my umbracoPath & umbracoResolvedPaths and changed way of submitting form by taking umbracoPath value, it started working.
Reason behind changing umbracoPath is to stop allowing access to any public user. If is there any other way, please suggest.
Thanks,
Dhiren
I'm also looking to achieve this.
I suspect that even if you get the core to work this way, you'll probably have to double check every single package you install(ed)
Any recommended way of changing the Umbraco admin URL on V7 or is it not supported?
Any support for 2 factor authentication?
Hi Tommy,
Using a rewrite rule is the base way, based on this http://tcmorris.net/blog/custom-domain-for-umbraco/ article this rule should work,
Hope this helps,
/Dennis
This is working for us with Umbraco 7.3.0
Have been trying various ways to rename the /umbraco folder but there was always something that wouldn't work, even some parts of Umbraco seem to be hard coded to /umbraco.
Hi,
What is the correct way to do this with Umbraco 7.5.10? I just want to change the admin panel url to a custom one (i.e. www.site.com/umbraco to www.site.com/custom).
It looks like the urlrewriting.config is out-dated, per the following written in that file
Any help would be great.
is working on a reply...