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

I am having trouble figuring out how to configure my .htaccess file for a 301 redirect as I would like to move my Q and A script from the root to /qna/ subdirectory. However, the issue is I would also like to use the root directory for my website.

In summary how do I code or can I code some kind of 301 redirect in the .htaccess file such that I don't bugger up my existing indexed pages and at the same time free up the root so that I can install my website??? Can use a regex with RedirectMatch to accomplish this? If so, can someone please help me with the expression?

Please log in or register to answer this question.