Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
in Q2A Core by

I'd like to move the hole platform from http://mydomain/q2a to http://mydomain/

How can I do it, without harming the content of the site?


Best regards,

Q2A version: 1.4.3

1 Answer

+3 votes
Best answer

Mainly, you just move all the files up to the home directory.

Apart from that, you should also change the URL within the admin panel.

The other problem you may have is with smilies embedded within posts via the WYSIWYG editor, which have absolute URLs. You can fix this by having a redirect on your server which re-routes requests to the q2a directory up a level.

This last issue will also ensure external links to your site still work.

If you move the site, you should have 301 Redirects in place to redirect everything from example.com/q2a/* to example.com/*