Please or Register to create posts and topics.

Forum rename won't work

Hello,

First of all - Thank You very much for this simple and nice forum !

Issue details:

The forum shortcode  locate at dedicated page - "communication"

First category called "Primary", then I created first forum "Announcements", and expecting URL to be

http://domain.tld/communication/forum/announcements/

but in fact it shows as

http://domain.tld/communication/forum/first-forum/

Any attempt to rename "first-forum" get failed.

In the second category, I created other forums and all of them shows as expected, name of forum matched slug.

Could you please point me in the right direction, what I doing wrong and how to rename "first-forum"

 

Hey @alexj,

the reason is that the Slug for the URL is only created once and will not be updated when you rename a forum or category. This is important if your Forum is already live and someone linked to the forum.

If you want to rename it, you would have to create a new forum/category or rename the slug inside your database (please always create a backup before making changes in your database).

If you ever wonder how to return the favour for helping you.
Quote from qualmy91 on April 7, 2021, 3:35 am

the reason is that the Slug for the URL is only created once and will not be updated when you rename a forum or category. This is important if your Forum is already live and someone linked to the forum.

Thank you for you reply !

I understand that when one creating forum he/she must be glued to that forum and to preserve possible reference to a forum in a future it have to have always the same slug, regardless how it visually looks/named. Forum administrator can control it for the second+ forum(s), but Im talking about the most first forum that created automatically by plugin and named forever in slug as "first-forum".

Quote from qualmy91 on April 7, 2021, 3:35 am

If you want to rename it, you would have to create a new forum/category or rename the slug inside your database

Is it safe operation?

If you know internal structure of the plugin, do you know if there is entry point that might be overriden with standard add/remove WP functions to fix hard coded name of the first forum?

 

Hey @alexj,

it is definitely safe to delete the old forum and create a new one. But if you already have a lot of categories created it could be some work to reset everything

Doing some changes directly in the database could always cause some problems. That's why you should make a backup first. In the worst case you could just import your backup and everything is back to normal.

If you ever wonder how to return the favour for helping you.