Notifications
Clear all

wpForo 1.x.x [Closed] How to use post IDs in url instead of title slug?

12 Posts
4 Users
0 Reactions
2,206 Views
Posts: 10
Topic starter
(@flamingtop)
Active Member
Joined: 5 years ago

Instead of /communitye/forumname/post-title I'd like to have post URLs (permalinks) like /community/forumname/123. How to do that?

 

Thanks.

11 Replies
Alvina
Posts: 1863
Moderator
(@alvina)
Member
Joined: 5 years ago

Hi @flamingtop

You can manage the permalinks option in the Dashboard > Settings > Permalinks > Permalink Settings admin page in the "Common Settings" section.

Posts: 10
Topic starter
(@flamingtop)
Active Member
Joined: 5 years ago

@Alvina,

 

I see, so it inherits WP permalink settings. What if I want to configure forum posts specifically?  Thanks. 

Posts: 1602
(@anonymous20)
Noble Member
Joined: 9 years ago

Page url and (meta) title are the most important basic in-site SEO. For ages now, and that doesn't seem to change.

Not a wise decision to replace that with a number. Why do that? No reason at all.

 

1 Reply
(@flamingtop)
Joined: 5 years ago

Active Member
Posts: 10

@anonymous20 

If it's all about SEO, I 100% agree with you. 

However lengthy URLs can become a mild usability issue. 

English slug may be fine, but non-English post titles could create very unfriendly URLs when taken out of the browser context - e.g. shared on Instant Messaging Apps. 

Here is an extreme case 

https://wpshushu.com/community/themes/%E8%AF%B7%E6%8E%A8%E8%8D%90%E4%B8%80%E6%AC%BE%E5%AF%BC%E8%88%AA%E7%B1%BB%E4%B8%BB%E9%A2%98%EF%BC%8C%E6%84%9F%E8%B0%A2%E6%84%9F%E8%B0%A2/

When pasted into the browser address bar, it looks okay but when shared on Skype / Wechat etc.. it is unclean, annoying and sometimes cut off automatically by IM. 

https://wpshushu.com/community/themes/123 

is SO MUCH better. Yes it might not be the optimal SEO URL, but I believe it's a worthy tradeoff. 

 

Regards

 

 

 

Posts: 10
Topic starter
(@flamingtop)
Active Member
Joined: 5 years ago

@anonymous20 

The other point is URL SEO isn't really about "let keywords show up in URL", that's important of course, but not the whole story, it's also about URL friendliness (usually shorter the better). 

Page 1 / 2