Hello,
I was wondering whether it would be possible to shorten the url to just the number, like what they do with vivaldi.club?
Example url: https://vivaldi.club/d/118 (which is, coincidentally, the url for this tutorial)
On that page there is this tutorial:
sed -i "s# + '-' + discussion.slug()##" \
vendor/flarum/core/js/forum/dist/app.js \
vendor/flarum/core/js/forum/src/initializers/routes.js
sed -i "s# . '-'.*##" \
vendor/flarum/core/views/index.blade.php
The thing is, I have no clue as to what to do with this.
Any help, please?