asked 7 years ago

Hi,
I have set DWQA pro as a tab in Buddypress, which name is “问答”. It is in Chanese.
My question is how can I change the slug for the BuddyPress page? I use “问答” as a tab name, but I do not want the URL become https://dev.hachina.io/members/brain/问答/
Is it possible to make the tab URL https://dev.hachina.io/members/brain/qa/ or something else?
Thanks! 
 

2 Answers
DominicStaff
answered 7 years ago

I know what you want. However, you can not change the slug as you mentioned here.


answered 7 years ago

Well, I just commited a line
define( ‘BP_DWQA_SLUG’, sanitize_title( $bp_name, ‘dwqa’) ); in loader.php
for now I can keep the tab name and use dwqa as the slug.
The reason I have to do this is because the chinese slug causes 404. So I have to make this update.
Please give a thought to separate the tab name and slug in options because this is very important to the websites which is not in English.

Dominic Staff
replied 7 years ago

Yes, I have sent and notified to our technical team about this option, we will check and discuss about it in the next version.

Powered by DW Question & Answer Pro