I want to change the name of these URLs
-
questions = posts
-
answers = comments
I have commenting disabled within the admin panel and want to use the answering as commenting by editing the language files.
I tried setting the following in the qa-config.php
$QA_CONST_PATH_MAP=array(
'questions' => 'posts',
'answers' => 'comments',
'categories' => 'categories',
'users' => 'members',
'user' => 'member',
'ask' => 'submit',
);
They work but, so do the old names would this be a protential problem with duplicate content?.
I also have an issue on the public profile page sub navigation, the names have not been changed.
-
/user/username/questions
-
/user/username/answers
I tried editing the qa_user_sub_navigation in qa-app-format.php
'questions' => array(
'label' => qa_lang_html('misc/nav_user_qs'),
'url' => qa_path_html('user/'.$handle.'/posts'),
),
'answers' => array(
'label' => qa_lang_html('misc/nav_user_as'),
'url' => qa_path_html('user/'.$handle.'/comments'),
),
Which does change the names but, /user/username/posts goes to a 404.
Any input would be great, thanks in advance :)