PageUseIdAsName by blue-tomato

Overrides the name field (used for url) with the page-id and hides the field from the admin GUI

PageUseIdAsName

License: MIT ProcessWire 3

This Module for ProcessWire CMS/CMF will replace your $page->name with $page->id so you have pages like http://www.your-domain.com/parent-page/3463/

Installation


  1. Execute the following command in the root directory of your ProcessWire installation:
composer require blue-tomato/page-use-id-as-name
  1. ProcessWire will detect the module and list it in the backend's Modules > Site > ProcessLogstash section. Navigate there and install it.

  2. Chose your tempaltes where the name replacement should be applied in the Module Configuration Page

Support


Please open an issue for support.

Contributing


Create a branch on your fork, add commits to your fork, and open a pull request from your fork to this repository.

To get better insights and onboard you on module implementation details just open a support issue. We'll get back to you asap.

Credits


This module is made by people from Blue Tomato. If you want to read more about our work, follow us on https://dev.to/btdev

License


Find all information about this module's license in the LICENCE.txt file.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #559
    The 559th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 25 January 2025
  • ProcessWire 3.0.244 new main/master version
    ProcessWire 3.0.244 is our newest main/master/stable version. It's been more than a year in the making and is packed with tons of new features, issue fixes, optimizations and more. This post covers all the details.
    Blog / 18 January 2025
  • Subscribe to weekly ProcessWire news

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull