Import Answers

Vew count: 154

Generate XML file form Question2answer site

First you need to generate XML files from Question2answer site.

you will see the file export-answer.php  under following directory on plugin.


Or Download from here

make a copy of this file on your Question2answer site. do not forget to change the database access information

$link = mysqli_connect("localhost", "demo_user", "demo_pass", "demo_database_name");

and then try to access your site this file export-answer.php

you can limit the number of post by using url parameter “limit” & “offset”

this will generate xml excluding first 500 post and total of 100


please wait until load completely and then save the file as export-answer.xml on your PC. you can use this xml file to your wordpress site to import answers.