I'm not sure why you would want to allow for the same nodename in the same branch? However you should be able to disable the adding of (1) in the end by setting this to false <ensureUniqueNaming>True</ensureUniqueNaming> in the umbracoSettings.config file.
The reason is that im using the name of the node as name of a company that is listed in a dropdown. The problem was that there could be duplicate versions of the company depending on the different locations in the same company. So I have to allow creating the same company twice, but different company details.
If I thought about that from the beginning I would have created it differently :)
Must admit that I don't know what kind of trouble this move could cause in the sense of how Umbraco is handling routing from 4.9 and below though.
But can't you add a streetname to the nodename...like "Company, Streetname" to ensure unique naming? Or something that makes sense and could perhaps give a SEO boost?
Allow same node name
Hi!
Should know this but but totally forgot how to do it..
I have a system where users can create nodes and if they do add a node with the same name a (1) is added in the end.
Is is possible to allow same name and how?
Hi Froad
I'm not sure why you would want to allow for the same nodename in the same branch? However you should be able to disable the adding of (1) in the end by setting this to false <ensureUniqueNaming>True</ensureUniqueNaming> in the umbracoSettings.config file.
Hope this helps :)
/Jan
Thx!
The reason is that im using the name of the node as name of a company that is listed in a dropdown. The problem was that there could be duplicate versions of the company depending on the different locations in the same company. So I have to allow creating the same company twice, but different company details.
If I thought about that from the beginning I would have created it differently :)
Hi Froad
You're very welcome.
Must admit that I don't know what kind of trouble this move could cause in the sense of how Umbraco is handling routing from 4.9 and below though.
But can't you add a streetname to the nodename...like "Company, Streetname" to ensure unique naming? Or something that makes sense and could perhaps give a SEO boost?
/Jan
That is the solutions that we now use :)
I realized that there can only be problem with nodes of the same name. hard to administrate too.
Thx!
is working on a reply...