Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
855 views
in Q2A Core by
edited by
by
Can you rephrase your question or give some more details? It's impossible to understand.
by
The answer:
"Edit qa-config.php:
$QA_CONST_PATH_MAP=array(
'questions' => '',
);" was not working for me.
by
front page to be example.com/qa/questions? Thanks!

1 Answer

+1 vote
by

The answer is the right one:

 

----------------------------- BEFORE ---------------------------------

 

/*
If you wish, you can define an array $QA_CONST_PATH_MAP to modify the URLs used in your Q2A site.
The key of each array element should be the standard part of the path, e.g. 'questions',
and the value should be the replacement for that standard part, e.g. 'topics'. If you edit this
file in UTF-8 encoding you can also use non-ASCII characters in these URLs.
 
$QA_CONST_PATH_MAP=array(
'questions' => 'topics',
'categories' => 'sections',
'users' => 'contributors',
'user' => 'contributor',
);
*/
 
----------------------------- NOW -------------------------------
 
/*
If you wish, you can define an array $QA_CONST_PATH_MAP to modify the URLs used in your Q2A site.
The key of each array element should be the standard part of the path, e.g. 'questions',
and the value should be the replacement for that standard part, e.g. 'topics'. If you edit this
file in UTF-8 encoding you can also use non-ASCII characters in these URLs.
*/
 
$QA_CONST_PATH_MAP=array(
'questions' => '',
);
 
 
 
-------------------------------------------------------------------
 
CHECK the position of >>>>>>>>      */   <<<<<<<<<<<<<<<<<<<<<<<<
and
The >>>>>>>>>>>>>    ''   <<<<<<<<<<<<<<<<< is two times ' not one time "
 
 

 

...