Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
584 views
in Q2A Core by
Q2A version: 1.8

1 Answer

+2 votes
by
selected by
 
Best answer

It's not really possible with usual methods as $QA_CONST_PATH_MAP only allows basic slugs, not ?sort=answers

However it's possible with a slightly hacky workaround. First set $QA_CONST_PATH_MAP as such:

$QA_CONST_PATH_MAP = array(
    'questions' => '',
);

Then underneath that in qa-config.php put this:

if (!isset($_GET['qa-rewrite']) && !isset($_GET['sort'])) {
    $_GET['sort'] = 'answers';
}

by
Works...thank you .
by
If it worked for you please consider selecting it as the best answer. It will help the community.
by
done..............
by
hey scott...I also want to do it with category means when somebody click on category it must show most answered questions on top.....can you tell please ?
by
I have again set "Most answered questions" as home page but when I am clicking on "recent" tab it is redirecting to "Most answered questions"...I am not able to see recent questions tab?
...