Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
606 views
in Q2A Core by
What it shows,

www.example.com  ---) recent questions and answers

What I want,

www.example.com  ---) recent questions (without any redirection to /questions page)

I want the questions page to be the default homepage instead of recent questions and answers without any redirection.

I meant, the homepage should have the "questions" page and when someone clicks on the "questions" tab in the menu, the link should return to homepage as it is the default questions page.

I want to entirely remove the recent questions and answers page from q2a.

How do I do this?

1 Answer

+1 vote
by

1.Change  'qa-include\app\page.php' to make  the home page to question, method as bellow, add default routing to question page(may be there has other way)

function qa_page_routing()

{

if (qa_to_override(__FUNCTION__)) { $args=func_get_args(); return qa_call_override(__FUNCTION__, $args); }

return array(

    '' => 'pages/questions.php',

by
+1
Beware that changes to core files are not recommended, since they will be lost when updating Q2A (so you'll need to re-apply the modification with each update).
by
may be there are some plugin can do this
for example override the funtion qa_get_request_content
...