orchardcore-autoroute

Configure Orchard Core AutoroutePart to generate SEO-friendly URLs with Liquid patterns.

13|3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/CrestApps/CrestApps.AgentSkills --skill orchardcore-autoroute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orchardcore-autoroute
Source: https://github.com/CrestApps/CrestApps.AgentSkills/tree/main/src/CrestApps.AgentSkills.Skills/orchardcore/orchardcore-autoroute
Command: npx skills add https://github.com/CrestApps/CrestApps.AgentSkills --skill orchardcore-autoroute

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Orchard Core route management can be verbose and error-prone when manually configuring URL patterns. This Skill provides a concise, reusable approach to generate SEO-friendly URLs via AutoroutePart using Liquid patterns and standard conventions.

Core Features & Use Cases

  • Pattern-driven URLs: Define URL structure with Liquid templates such as {{ ContentItem | display_text | slugify }} and enable customization with AllowCustomPath.
  • Container-aware routing: Support routing for items inside containers via AllowRouteContainedItems and ListPart/BagPart relationships.
  • Migrations & Recipes: Demonstrates how to apply AutoroutePart settings in migrations and recipes for consistent deployments.

Quick Start

Configure your Orchard Core content type to use AutoroutePart with a slugify pattern to generate SEO-friendly URLs.

Frequently Asked Questions about orchardcore-autoroute

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate SEO-friendly URLs in Orchard Core using AutoroutePart?

Generate SEO-friendly URLs in Orchard Core by configuring AutoroutePart with Liquid patterns like {{ ContentItem | display_text | slugify }}. This pattern-driven approach dynamically creates clean URL slugs from your content item's display text.

What is the best way to set up routing for contained items in Orchard Core containers?

Set up routing for contained items by enabling the AllowRouteContainedItems setting on AutoroutePart. This container-aware routing supports ListPart and BagPart relationships, allowing nested content to inherit or define their own URL patterns.

Can I apply AutoroutePart URL patterns across multiple content types in migrations?

Apply AutoroutePart URL patterns across multiple content types using Orchard Core migrations and recipes. This ensures consistent URL generation deployments by defining settings like Pattern, AllowCustomPath, and ShowHomepageOption programmatically.

How do I allow custom URL paths while maintaining a default Liquid pattern in Orchard Core?

Allow custom URL paths alongside a default Liquid pattern by enabling the AllowCustomPath setting in AutoroutePart. Users can override the slugify-generated URL while retaining the pattern-driven structure as the default fallback.

Does Orchard Core Autoroute support designating a content item as the homepage?

Orchard Core Autoroute supports designating a content item as the homepage using the ShowHomepageOption setting. This allows editors to set a specific content item's route as the site root path directly from the editor interface.