I want to change the default homepage of my site to the activity page so that whenever someone types www.biarusi.com he/she is redirected to the www.biarusi.com/activity
Problem solved:
----------------------------- 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', ); */
/* 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( 'activity' => '', );
You can do this bu adding this code to your .htaccess
RewriteRule ^index.php /activity [R=301]
I have not tried this, but it will work, lest us know.
This question has been answered many time.
http://question2answer.org/qa/24689/can-i-make-questions-page-a-home-page?show=24692#a24692
http://question2answer.org/qa/20974/how-make-the-first-page-to-open-to-be-recent-questions?show=21079#a21079
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.