I realize this has been asked before in the general Umbraco threads, but bear with me.
I just installed a fresh Umbraco install on my local machine. Works great. I then installed the Umazel theme and configured a basic layout. Still good.
As soon as I copy the site to my web server (IIS 7.5 on Server 2008 R2, with a Sql 2008 R2 backend), my pages load but my asset paths appear to be incorrect. I'm hosting my site in a subdirectory. e.g. mydomain.com/umbraco.
Looking in Chrome dev tools, I see that asset files are referencing a root based installation (all paths begin with /) rather than a relative path (beginning with ~).
I can begin to go through and update media instances referencing the root directory, but I'd like to make sure I'm not missing something within the Umazel or Umbraco setup first.
Suggestions?
Thanks!
(In attached image, the application path should be domain/testapp/assets, but currently appears as domain/assets)
You're right and this is on me. I coded the site under the assumption that it would always be installed at the root (hence the "/"s), which is something I do by habit since it's been very long since I had to handle an Umbraco install in a subfolder (I don't even know if this is possible any more).
You could definitely try changing the paths, I don't know if this is the only thing required for it to work, but giving it a try does no harm - keep a backup handy so you can reset things in case it goes south.
Got it. Thanks for the confirmation. I just wanted to make sure, so (if) others have the same issue, they may be able to save a little time.
On a similar note, my images don't appear either. Is there a global setting to help the kit find my media/images, or do I need to find these references in the code as well?
IIS 7.5 site; no assets appear
I realize this has been asked before in the general Umbraco threads, but bear with me.
I just installed a fresh Umbraco install on my local machine. Works great. I then installed the Umazel theme and configured a basic layout. Still good.
As soon as I copy the site to my web server (IIS 7.5 on Server 2008 R2, with a Sql 2008 R2 backend), my pages load but my asset paths appear to be incorrect. I'm hosting my site in a subdirectory. e.g. mydomain.com/umbraco.
Looking in Chrome dev tools, I see that asset files are referencing a root based installation (all paths begin with /) rather than a relative path (beginning with ~).
I can begin to go through and update media instances referencing the root directory, but I'd like to make sure I'm not missing something within the Umazel or Umbraco setup first.
Suggestions?
Thanks!
(In attached image, the application path should be domain/testapp/assets, but currently appears as domain/assets)
You're right and this is on me. I coded the site under the assumption that it would always be installed at the root (hence the "/"s), which is something I do by habit since it's been very long since I had to handle an Umbraco install in a subfolder (I don't even know if this is possible any more).
You could definitely try changing the paths, I don't know if this is the only thing required for it to work, but giving it a try does no harm - keep a backup handy so you can reset things in case it goes south.
Got it. Thanks for the confirmation. I just wanted to make sure, so (if) others have the same issue, they may be able to save a little time.
On a similar note, my images don't appear either. Is there a global setting to help the kit find my media/images, or do I need to find these references in the code as well?
Thanks again!
Hello,
what was the solution ? Change all paths to include webapplication folder name?
is working on a reply...