Renamed URL (umbracoUrlName) node's template being shown in wrong paths
I have a "Contact Us" page at the root with a umbracoUrlName of "contact"; www.mysite.xyz/contact works fine.
The problem is that when "/contact" is added after any valid Url on the site (e.g., "www.mysite.com/about-us/contact"), instead of showing a 404 error, the site shows the Contact template along with the content of the incorrect page (in this example, the site shows my contact form along with common fields populated with About Us page content).
We're baffled by this unexpected behavior. We're currently on version 7.6.0.
Renamed URL (umbracoUrlName) node's template being shown in wrong paths
I have a "Contact Us" page at the root with a umbracoUrlName of "contact"; www.mysite.xyz/contact works fine.
The problem is that when "/contact" is added after any valid Url on the site (e.g., "www.mysite.com/about-us/contact"), instead of showing a 404 error, the site shows the Contact template along with the content of the incorrect page (in this example, the site shows my contact form along with common fields populated with About Us page content).
We're baffled by this unexpected behavior. We're currently on version 7.6.0.
This is due to a feature of Umbraco called "alternative templates". See here: https://our.umbraco.org/forum/templates-partial-views-and-macros/77715-umbraco-7-template-rending-as-web-pages#comment-248526
In short, you can disable this feature in a few ways (the link above has details).
Thank you very much, Nicholas.
is working on a reply...