Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top