Skip to content

TYPO3 backend module for efficient management of URL slugs across pages and records, focused on SEO, bulk operations, and editorial productivity.

License

Notifications You must be signed in to change notification settings

fullstackfreelancer/slug

Repository files navigation

slug - Mass editing of URLs for TYPO3 CMS

This TYPO3 backend module helps editors and integrators manage URL slugs efficiently across pages and records. It is designed for SEO-friendly URLs, bulk operations, and clean editorial workflows.

LIKE IT? SUPPORT DEVELOPMENT!

Donate

Your ideas to improve and extend the slug module are more than welcome: send a message

WHO IS THIS FOR?

  • TYPO3 integrators and developers
  • SEO-focused projects with many pages or records
  • Editors who need bulk slug operations

FEATURES LIST

  • Manage URLs for pages and database records
  • Bulk edit and mass save URL values
  • List views filterable with different parameters
  • Search engine preview for pages
  • SEO Module (currently beeing developed)
  • Backend-only, no frontend impact

USAGE

Installation

  • For Composer use composer require kohlercode/slug
  • Download the latest version here: https://extensions.typo3.org/extension/slug/ or install it with the extension manager of your TYPO3 installation
  • No further configuration is required, but you should delete all the backend caches after installation to make sure the extension is working properly.

HOW TO ENABLE CUSTOM EXTBASE RECORDS

Note: To enable custom records functionality, you must add configuration values to your "additional.php" file in the system settings!

Important to know: Editing the slugs works only if the desired table contains a field for the title and a field for the slug. The names of the fields can be determined by PHP in your "additional.php". But be careful. If you use a wrong field, the slug extension can destroy your data. We take no responsibility for it. So it's best not to test in a live web site before.

Very important to know:

  • If you want to use an image symbol, make sure the image exists. The slug extension is currently NOT checking this!
  • You can only use tables that are correctly prepared for TYPO3 use
    • The configuration array $GLOBALS['TCA']['tx_your_table_name']['columns']['your_slug_field']['config'] needs to exist in the TYPO3 system. Otherwise the system will throw errors.
    • The fields crdate,tstamp,uid AND your custom fields for the title and the slug need to exist in your table!

Here's an example code you will need to make a custom table work.

/*
Add this to your global system configuration,
ideally in the file "typo3conf/system/additional.php"
*/

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['slug'] = [
    'settings'=> [
        'defaultSortfield' => 'uid',
        'defaultSortby' => 'ASC',
        'defaultMaxEntries' => 10,
    ],
    'additionalTables' => [
        'tx_news_domain_model_news' => [
            'label' => 'News',
            'slugField' => 'path_segment',
            'titleField' => 'title',
            'pid' => 44,
            'icon' => 'ext-news-type-default' // v14: Use the Icon Identifier!
        ],
    ]
];

KNOWN PROBLEMS

This part will be updated soon, since the extension has been updated recently.

REPORT ISSUES

https://github.com/fullstackfreelancer/slug/issues

ALL OTHER REQUESTS

Contact: https://kohlercode.com/contact

CHANGELOG

See the changelog for more details: https://github.com/fullstackfreelancer/slug/blob/master/CHANGELOG.md

About

TYPO3 backend module for efficient management of URL slugs across pages and records, focused on SEO, bulk operations, and editorial productivity.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 5