Skip to content

A SilverStripe module for conveniently generating URL segments (slugs) for DataObjects.

License

Notifications You must be signed in to change notification settings

LoveDuckie/silverstripe-url-segment

Repository files navigation

SilverStripe URL Segment

Automatically generate and inject slugs or URL segments to your DataObjects.

Unlike SiteTree objects, other DataObjects in SilverStripe do not automatically produce a "URLSegment". Generating a "URLSegment" can be beneficial for navigation purposes on your website, or for search-engine optimization.

This is a simple module that provides a DataExtension that can be appended to any DataObject that you have in your project. It will ensure that URLSegment is populated with a unique name (non-colliding).

It has the added benefit of optimizing discovery with search engine crawlers by having identifiable names and titles attributed with indexed objects.

License

See License

Installation

composer require loveduckie/silverstripe-url-segment

Documentation

About

A SilverStripe module for conveniently generating URL segments (slugs) for DataObjects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published