Feb 19, 2010
  10946
(1 votes)

PageName vs UrlSegment Report

When editors start putting content in their empty site, they will probably start with some test pages or not a well thoughtful page name in the structure. Later the editors often change page names several times until they are satisfied and at the end the site goes live.

What many of the editors don’t know is that the Url Segment of the page only are set the first time the page is published. Since the Url Segment property is found on the Advanced Panel in Editmode, many editors do not see nor have the necessary permissions rights to access this panel / property.

PageNameVsUrlSegment

So, to help the editors in their daily work, I created a simple report which displays the pages that differ between the page name and the expected Url Segment. This report will give the editor a quick overview of the pages that differ. I don’t see how an editor can find these pages in a sensible time another way.

Remember that changing the Url Segment after the site is live will have an impact on the SEO and previously indexed url’s. A nice feature would be to combine the change of the Url Segment with this logic http://world.episerver.com/Blogs/Magnus-von-Wachenfeldt/Dates/2010/2/Update-to-the-Url-Mapping-Module/ and the 404 Handler from EPiCode.

You can download the project from EPiCode:
https://www.coderesort.com/p/epicode/browser/EPiCode.ReportCenter.Reports

 

Would be nice with some ajax functionality on this report, feel free to update the report with improvements.

Feb 19, 2010

Comments

Sep 21, 2010 10:33 AM

This is awesome! I often see pages with differences in name and urlsegment. This way, people can fix it easily. :)

Apr 3, 2017 11:15 AM

Please login to comment.
Latest blogs
Optimizely Opal: How to Build Effective Workflow Agents

If you're building workflow agents in Optimizely Opal, this post covers how specialized agents pass context to each other, why keeping agents small...

Andre | May 20, 2026

ReviewPR: An Azure Function That Reviews Your Azure DevOps Pull Requests With Claude

A while back I wrote about an  Azure Function App for PDF creation that we use to offload PDF rendering from our Optimizely DXP site. That same...

KennyG | May 19, 2026

Accelerating Optimizely CMS and Commerce upgrades with agentic AI (Part 2 of 2)

The Real Transformation in Optimizely CMS 13: Why the Upgrade Itself Is the Easy Part. A field-tested playbook for enterprise teams moving from...

Hung Le Hoang | May 18, 2026

Is the most powerful AI model really the best value?

Artificial Intelligence is already becoming part of everyday software development. Developers now use AI tools to generate code, write documentatio...

K Khan | May 16, 2026