Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Jan 18: 1.5 release

How to redirect old folders to main through 301 htaccess

0 votes
I am trying to redirect old folders completely to the root of the q2a installation.

before I had on http://www.yourquestionplease.com an drupal installation used as qa site.

Now there are links in google like:

http://www.yourquestionplease.com/content/when-do-hurricanes-occur

This I want to redirect to

http://www.yourquestionplease.com

I added to the .htacces

the following redirect:

RedirectMatch 301 content/(.*) http://www.yourquestionplease.com/

but the result is a redirect to

http://www.yourquestionplease.com/?qa-rewrite=content/when-do-hurricanes-occur

there I have the ?qa-rewrite....  part, which I want to avoid to make it not double content for SE.

Does anybody know how to do that ?
asked Sep 1, 2010 in Q2A Core by monk333

Please log in or register to answer this question.