Welcome to the Question2Answer Q&A. There's also a
demo
if you just want to try it out.
Login
Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Wiki
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
Related questions
How to redirect to. htaccess
How to redirect Q&A folder - parked domain to main domain
Editing the default .htaccess file.... (how do I add 301 redirects correctly?)
How to redirect www.domain.com to domain.com like perezhilton.com?
Need .htaccess file similar to fragee.de , help me!!
Doesn't Anyone Know Something about 301 Redirects and This Script????
Moving Q&A from root to subdirectory, help with 301 Redirect
Equivalent to .htaccess in Apache config
Suggestion for .htaccess enhancement
.htaccess problem in GoDaddy, please help
All categories
Q2A Core
(2,732)
Plugins
(173)
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 ?
htaccess
301redirect
asked
Sep 1, 2010
in
Q2A Core
by
monk333
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.