Custom Permalink Structure
I think it would be very useful to allow the admin to choose a permalink structure like:
- /$(category) + /$(category)/$(topic-title)-$(topic-id)
- /$(category) + /$(category)/$(topic-id)-$(topic-title).html
- etc etc....
so it will be easier for old forums to migrate.
@andreapernici What software are you wanting to transfer from? The plugin that imports your forum data into NodeBB allows you to set up redirects based on your old link structure, you just need to configure it as it's based on UBB.
See nodebb-plugin-import for information.
You would basically change the old path to match yours.
redirects based on your old link structure, you just need to configure it as it's based on UBB.
Yes I saw that, but for a very big forum I'd like to prevent redirecting so I think it would be useful to have a Custom Permastruct option.
@andreapernici I guess I can see where you're coming from. However changing permalinks is normally done using mod_rewrite. So I'm not sure how different the process would be. I will leave this one to the devs.
@a_5mith yes but sometimes you can have structural (core) limitations that prevent some kinds of URL rewrite.
I'd like to know if here we have a case like this or if it's a possible way.
I've seen some demand for this as of late. It would be a pretty massive overhaul so I can't promise you a definite timeline on this as we have a ton of other things to get out for 0.5x next month, but will keep it in mind in future