Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
My qtoa site is located on the main folder (index) and I want it to be moved to a folder called "qtoa". Also how do I create a backup before transferring it to a new folder? Do I just copy the whole folder? Which folders should I copy?
Q2A version: 1.7

1 Answer

+2 votes
To backup all the files you need to go to phpadmin and then follow this...

go to myphpadmin > select q2a > export (maybe at top navigation) > SQL (from drop down) > go.

Save the file and you are good to go.

You have made a backup so next thing would be to move your site to another directory, for that:

Make a new directory folder (assuming it to be qtoa as you want) then upload Q2A files to that directory and in qa-config file set the same database name as you previous one. When you open the site, go to admin > general and there change the preferred url to you new url (like www.example.com/qtoa).

Now you are all set to go.

You can delete the old Q2A files from you main domain as those are not needed anymore. But just don't touch your database.

I hope this helps.