loveduckie/silverstripe-url-segment

A module for conveniently generating URL segments for your DataObjects in SilverStripe.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

5.x-dev 2024-11-28 14:40 UTC

This package is auto-updated.

Last update: 2024-11-28 14:40:40 UTC


README

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