November Happy Hour will be moved to Thursday December 5th.

Per Nergård
Oct 20, 2014
  2345
(1 votes)

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.

Oct 20, 2014

Comments

May 15, 2017 02:09 PM

Please login to comment.
Latest blogs
Adding Geolocation Personalisation to Optimizely CMS with Cloudflare

Enhance your Optimizely CMS personalisation by integrating Cloudflare's geolocation headers. Learn how my Cloudflare Geo-location Criteria package...

Andy Blyth | Nov 26, 2024 | Syndicated blog

Optimizely SaaS CMS + Coveo Search Page

Short on time but need a listing feature with filters, pagination, and sorting? Create a fully functional Coveo-powered search page driven by data...

Damian Smutek | Nov 21, 2024 | Syndicated blog

Optimizely SaaS CMS DAM Picker (Interim)

Simplify your Optimizely SaaS CMS workflow with the Interim DAM Picker Chrome extension. Seamlessly integrate your DAM system, streamlining asset...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Optimizely CMS Roadmap

Explore Optimizely CMS's latest roadmap, packed with developer-focused updates. From SaaS speed to Visual Builder enhancements, developer tooling...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Set Default Culture in Optimizely CMS 12

Take control over culture-specific operations like date and time formatting.

Tomas Hensrud Gulla | Nov 15, 2024 | Syndicated blog

I'm running Optimizely CMS on .NET 9!

It works 🎉

Tomas Hensrud Gulla | Nov 12, 2024 | Syndicated blog