Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On a domain running Drupal, I need to redirect a legacy URL, http://www.example.com/?group=example to http://www.example.com/support-request. I tried using Drupal's Global Redirect module, but it doesn't seem to be working; I'm guessing because /?group=example isn't a format Drupal expects.

Is there a Drupal module to handle this kind of redirect? Or how do I handle the redirect in an Apache vhost file instead?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You may be able to handle this with Apache's Redirect command, and certainly using RewriteRule. The Apache URL Rewriting Guide is a good source of information.

share|improve this answer
    
Thanks! Any chance you can elaborate, given the specifics of the URLs above? –  Matt V. Jan 27 '11 at 22:24
    
If there are specific parts of the documentation that you have questions about I would be more than happy to help out. There's a mod_rewrite tutorial I was able to find that looks like it has some good examples. –  larsks Jan 28 '11 at 1:06
    
Got it working, thanks again! –  Matt V. Jan 28 '11 at 1:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.