문제

Hi I am installing Umbraco to the root directory of my website. And also I want to install my wordpress blog to a subfolder in the root directory.

However any request to the subfolder is being intercepted by Umbraco and it is showing that document URL cannot be found. Is there a way to make Umbraco ignore certain subdomains?

도움이 되었습니까?

해결책

You can tell Umbraco to ignore certain paths or folders in the web.config.

You need to update the following entry in the appSetting section of the web.config:

umbracoReservedPaths

Add the subfolder you wish Umbraco to ignore in there.

i.e.

<add key="umbracoReservedPaths" value="/umbraco,/install/,/wordpress/" />

There are more details on the Umbraco web.config settings in on our.umbraco.org

다른 팁

it's useful for binding too:

<add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/http-bind/" />

~/http-bind/

Thanks Tim Saunders

You can also use umbracoReservedUrls to tell umbraco to ignore specific pages:

<add key="umbracoReservedUrls" value="/mypages/regular-page.aspx" /> 

This can be set up with in IIS by setting up the blog as a separate application with in the umbraco site.

However if you are trying to make a sub-domain there is no reason why this should be in the same site, I would say it is best to create a separate site with in IIS or purchase another hosting account to host the blog separately

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top