solved Can I edit the url for my forum category?

Elise
Elise
@elise
4 years ago
249 posts
I'd like to decouple a forum's category title (change it) from the url (keep it the same).
If I edit jr_jrforum_category.cat_title_url will bad things happen?
Is it always necessary for the title and the slug are the same?

Thanks!
updated by @elise: 09/14/20 12:08:26AM
Elise
Elise
@elise
4 years ago
249 posts
Thanks Michael. But my question is about a forum category, not a forum post.

In my forums, if the "title" of Category is changed, the url is changes as well. So in our example, if the category "Using Jamroom" was renamed to "Fun Times With Jamroom", the url would change to .../forum/fun-times-with-jamroom/63550.

Or at least, that's what happens when I try this.

So I'm trying to work around the situation where renaming a category changes all the posts in that location to a new url (thus making google super unhappy, 404-wise).

Would it work for me to edit the category in the database? I would keep the url but rename the Title to something else in the table jr_jrforum_category. I just don't want to break anything that might be relying on this field.

Thanks!
michael
@michael
4 years ago
7,692 posts
Still the same I think, no issue. The previous URL's
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/63550
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/63550/can-i-edit-the-url-for-my-forum-category
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/63550/my-favorite-food-is-chocolate
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/63550/sometimes-i-like-to-go-hiking
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/63550/this-part-of-the-url-is-just-for-show-or-seo

can also be found at
https://www.jamroom.net/the-jamroom-network/forum/my_posts/63550
https://www.jamroom.net/the-jamroom-network/forum/my_posts/63550/can-i-edit-the-url-for-my-forum-category
https://www.jamroom.net/the-jamroom-network/forum/my_posts/63550/my-favorite-food-is-chocolate
https://www.jamroom.net/the-jamroom-network/forum/my_posts/63550/sometimes-i-like-to-go-hiking
https://www.jamroom.net/the-jamroom-network/forum/my_posts/63550/this-part-of-the-url-is-just-for-show-or-seo

or:
can also be found at
https://www.jamroom.net/the-jamroom-network/forum/new_posts/63550
https://www.jamroom.net/the-jamroom-network/forum/new_posts/63550/can-i-edit-the-url-for-my-forum-category
https://www.jamroom.net/the-jamroom-network/forum/new_posts/63550/my-favorite-food-is-chocolate
https://www.jamroom.net/the-jamroom-network/forum/new_posts/63550/sometimes-i-like-to-go-hiking
https://www.jamroom.net/the-jamroom-network/forum/new_posts/63550/this-part-of-the-url-is-just-for-show-or-seo


I just tried:
https://www.jamroom.net/the-jamroom-network/forum/can-i-change-this-to-anything/63550/can-i-edit-the-url-for-my-forum-category

and it still brought up the correct post, so its just a vanity url. (I can go dig in the code to confirm if necessary, haven't looked at this area in a long time.)
Elise
Elise
@elise
4 years ago
249 posts
Ah I see. Thanks!

Tags