Yes, as you've noticed the URL segments ar built based on the content Name, and if you change the Name of a node you also change the url.
Howerver, you can get around this by addding a property to you document type (in your case the news item doctype) called umbracoUrlName, see image:
Using this property, you can override the name used in the url segment. See example:
So in your example, change the Name to the new correctly spelled name, and then change the umbracoUrlName to the missspelled name, and you will keep the same url as you had before, but with a new Name.
However, my Umbraco does not look entirely similar to yours. I don't know if that has any impact on the function, but when I do what you describe, the link does not change.
I dont think you have created the new property type.
Go to SETTINGS
Click on your NewsItem Document Type, and add a new property called "Umbraco Url Name". You can put this in any TAB, but usually you'd put it in the General Props tab.
Ensure the text next to the padlock, says "umbracoUrlName"
Save the document type.
Now go back to your news item, and you should be able to enter a value for the URL.. Click Save and Publish, and Umbraco will use the text from your umbracoUrlName to construct the Url
I forgot to add this screendump. This is where I changed the Umbraco Url Name without any luck. Basically made the entire proces that you describe above.
Change title, but keep URL
I created a news item and published it on my site.
Later on I noticed a miss spelling in the title.
Now I want to change the title, but I want to keep the URL.
How do I do this?
Hi Jonathan.
Yes, as you've noticed the URL segments ar built based on the content Name, and if you change the Name of a node you also change the url.
Howerver, you can get around this by addding a property to you document type (in your case the news item doctype) called umbracoUrlName, see image:
Using this property, you can override the name used in the url segment. See example:
So in your example, change the Name to the new correctly spelled name, and then change the umbracoUrlName to the missspelled name, and you will keep the same url as you had before, but with a new Name.
Hope this was helpful to you!
Thanks for the reply. It makes sense.
However, my Umbraco does not look entirely similar to yours. I don't know if that has any impact on the function, but when I do what you describe, the link does not change.
Why is that?
I'm working in the Umbraco version 7.2.1.
Whats the "Title" of the news (aka Node Name), and what value have you got in your umbracoUrlName property field?
I dont think you have created the new property type.
Go to SETTINGS
Click on your NewsItem Document Type, and add a new property called "Umbraco Url Name". You can put this in any TAB, but usually you'd put it in the General Props tab.
Ensure the text next to the padlock, says "umbracoUrlName"
Save the document type.
Now go back to your news item, and you should be able to enter a value for the URL.. Click Save and Publish, and Umbraco will use the text from your umbracoUrlName to construct the Url
Hi again,
I forgot to add this screendump. This is where I changed the Umbraco Url Name without any luck. Basically made the entire proces that you describe above.
You need to populate the Umbraco Url Name, with something. Try something like
Try that, and click "save and publish"...
And then see if the URL has changed for the node (Link to Document)
Just tried, but the url stays the same.
Already tried it many times, with the same result.
Ok, go to "Settings" section.
Go to your "NewsItem" document type, and ensure the property alias for "umbracoUrlName" is 100% correct. No spaces, and has the correct casing..
Like this?
Yeah - that looks good to me :)
Give it a whirl
Although, it looks like you added that to the CSS tab.
The document most probably inherits from a 'master document'. Ensure that is correct first :)
It will not allow me to create the property as apparently the property already exist. However, I cannot find it anywhere.
On the verge of giving up :D
Don't give up :-)
When it works, you can order yourself a large hipster latte
The property, will probably inherit from one of these documentTypes... (looking at your screenshot)
Yeeeees I did it! Thanks a lot for the help man!
I owe you a large hipster latte!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.