Change URL segment when publishing page



We need the URLSeggment unique for each page so we need to change the URLSegment if it's duplicated. I can use Ivalidate to show a message to the editor, but I want it change automatically when editor publishing the page, is there any recommended way to do it?

Thank you very much!


Apr 17, 2013 12:07
Apr 17, 2013 21:44

I think you need to hook up with the content publishing event, but I am not too sure whether how to show the error message in the editor.

Apr 18, 2013 6:31

Thank you very much Per,

It did the trick!

Apr 18, 2013 8:11
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.