I'm trying to add a new folder into where Umbraco sits on the server:
/paul
I've added in a default.aspx file in there, but it's not being picked up. I get the 404 page.
I've added the directory to umbracoReservedPaths (triple checked) and have checked that default.aspx is one of the default documents that IIS looks for.
You should only have to add '~/yourDir/' (~/paul/ in this case) to the umbracoReservedPaths app setting.
Remember that http://yourdomain.com/paul won't work. But http://yourdomain.com/paul/ (with ending slash) will. Also, the full path .../paul/default.aspx will also work, you shouldn't need to add it to umbracoReservedUrls.
I just quickly tried this out on my local machine and works as expected.
umbracoReservedPaths prob?
Hi,
I'm trying to add a new folder into where Umbraco sits on the server:
/paul
I've added in a default.aspx file in there, but it's not being picked up. I get the 404 page.
I've added the directory to umbracoReservedPaths (triple checked) and have checked that default.aspx is one of the default documents that IIS looks for.
Am I missing something?
Thanks,
Hi Paul
I think you migh also need to add it to the umbracoReservedUrls
/paul/default.aspx
Hope this helps.
/Jan
You should only have to add '~/yourDir/' (~/paul/ in this case) to the umbracoReservedPaths app setting.
Remember that http://yourdomain.com/paul won't work. But http://yourdomain.com/paul/ (with ending slash) will. Also, the full path .../paul/default.aspx will also work, you shouldn't need to add it to umbracoReservedUrls.
I just quickly tried this out on my local machine and works as expected.
Cheers,
James
Thanks for the repies. I run two umbraco sites... we've been doing this for a while on one site, this is first time on the other.
/paul/ is working fine (as James pointed out)
/paul doesn't work... but this does work on the other site just by adding /paul to the umbracoReservedPaths
Will keep looking around and let you know if I find the fix/problem.
Thanks,
Hi Paul,
Is your umbraco install setup to use friendly urls?
Tom
Hi Tom,
Yup-friendly-URLS-galore.aspx
(both sites)
Bingo!
For some reason, the second site insisted on two bits of info, whereas the first site just needs umbracoReservedPaths.
Added /directory to umbracoReservedUrls
Added /directory/ to umbracoReservedPaths
Cheers for replies,
Glad you got it sorted.
Tom
Nice one. Strange that the two sites had different behaviour though. Something to watch out for.
James
is working on a reply...