-2

What i want to do is redirect an entire forum temporarily to a Twitter Page.

However anything i've tried hasnt worked.

If they visit for example site.com/Forum it will send them to twitter.com/ourpageForum

How do i just redirect them to twitter.com/ourpage with a 302 no matter what Forum URL they visit?

Thanks

user237462
  • 101
  • 1
  • For simple scenario's like the one above [mod_alias](http://httpd.apache.org/docs/current/mod/mod_alias.html) is sufficient and is both faster and doesn't have the learning curve of mod_rewrite. – HBruijn Jul 13 '14 at 11:23

1 Answers1

1

The Apache RedirectMatch directive is a fairly trivial method to do as you ask:

RedirectMatch temp ^/Forum/.* http://twitter.com/ourpageForum

temp returns a temporary redirect status (302).

HBruijn
  • 77,029
  • 24
  • 135
  • 201