Alternative RebuildURLSegment plugin
A while back I implemented some functionality where I did a lot of copy pasting of pages to create the page structure and only changing the page names.
Unfortunate for me it wasn’t a hidden structure so pretty URLs was important and EPiServer doesn’t automatically rewrite the URL segment name when changing a pages name.
In admin mode there’s a tool for rewriting the URL segments. But that tool starts from the root page. This was a big Enterprise solution so I only wanted to fix the segments on my particular part of a site.
So I modified the built in functionality and added it as a plugin.
It’s basically the same as the built in version but you can enter a Content Reference id to set the start page for rebuilding and all pages from that page and below will get a new URL segment.
You can find the code over at GitHub.
Comments