I have an issue when navigating to a random page that doesn't exist. This page is /article. When it goes to this page it uses the template Article.master and the current node is the Home page. Home is also assigned to use Home.master not Article.master. There is no page named /article in the root of the site or under home. There are 2 pages named Article that are nested within the site, but these aren't actually real pages and have no templates assigned to them. It does this even if I disable all redirects. Also the network http response code is 200 so I don't think its a redirect rule.
Any ideas what could cause this? Pulling my hair out.
Umbraco is applying the article template as an alternate template for your homepage. This post might help with a solution (it's a bit old, but should still work).
Problem with random page showing up
Hi Guys,
I have an issue when navigating to a random page that doesn't exist. This page is /article. When it goes to this page it uses the template Article.master and the current node is the Home page. Home is also assigned to use Home.master not Article.master. There is no page named /article in the root of the site or under home. There are 2 pages named Article that are nested within the site, but these aren't actually real pages and have no templates assigned to them. It does this even if I disable all redirects. Also the network http response code is 200 so I don't think its a redirect rule.
Any ideas what could cause this? Pulling my hair out.
Thanks,
Umbraco is applying the article template as an alternate template for your homepage. This post might help with a solution (it's a bit old, but should still work).
Thanks that worked! Never would have thought of anything thing like that. Seems like a weird feature that shouldn't be enabled by default in Umbraco.
is working on a reply...