Hi,
i was created two umbraco document type called first,second.i used to create page based on two templates ,while creating page i given Swedish text FÖNSTER when i go to the properties , checked the link to document type:/foenster. like it shows.
is there any possibility to get wat ever text i given in the page creation.
I want to be link to document type:/FÖNSTER is any one knows help me.
NOTE: this will not automaticly happen for every page in your application. You need to publish every site that has ÅÄÖ in the Name and then the new URL will be saved. Or re-publish the entire site.
With the about setting, im able to get this URL for one of my clients, hope it helps you.
NOTE 2: if you set toAscii=true, you can skip the char elements. Your URL will then be /fonster instead of /foenster, which in my opinion is nicer. I personally dont like ÅÄÖ in urls, but sometimes the client really wants it.
Same text to the link document
Hi, i was created two umbraco document type called first,second.i used to create page based on two templates ,while creating page i given Swedish text FÖNSTER when i go to the properties , checked the link to document type:/foenster. like it shows.
is there any possibility to get wat ever text i given in the page creation. I want to be link to document type:/FÖNSTER is any one knows help me.
Hello RJ.
In your /Config/umbracoSettings.config file, you need to add a urlReplacing section in the requestHandler section like this:
You then need to restart your app-pool.
NOTE: this will not automaticly happen for every page in your application. You need to publish every site that has ÅÄÖ in the Name and then the new URL will be saved. Or re-publish the entire site.
With the about setting, im able to get this URL for one of my clients, hope it helps you.
Lycka till! :)
NOTE 2: if you set toAscii=true, you can skip the char elements. Your URL will then be /fonster instead of /foenster, which in my opinion is nicer. I personally dont like ÅÄÖ in urls, but sometimes the client really wants it.
Just for future reference for others who might come across these two posts the same question has been asked by another user here where I threw in my replies :) https://our.umbraco.org/forum/using-umbraco-and-getting-started/77020-change-the-text-in-link-to-document-type#comment-246192
is working on a reply...