Apache 301 redirect

Posted by mcondiff on Server Fault See other posts from Server Fault or by mcondiff
Published on 2010-03-08T19:51:40Z Indexed on 2010/03/08 20:08 UTC
Read the original article Hit count: 794

Filed under:
|
|

I have inherited a server with a couple of domains on it. The website was reworked within the last two years and I am trying to oblige a request by staff to get a redirect to work properly (if it can given the default structure).

So right now on the server I have a redirect that takes every 301 and dumps it onto the front page of the website.

RedirectMatch /(.) http://www.example.com

This has worked well for most of the old URL's coming in from various websites containing the old liking structure.

However, now a staff member wants a single URL which is somewhat widely used to be redirected to it's proper place.

Redirect /new/research/Exp_Rese_Disc/Asia/example.shtml http://example.com/asia/

Is this possible without killing the all encompassing 301 redirect?

To have a general RedirectMatch /(.) redirect as well as a singular redirect?

As of right now it is not seeming to let me. Any ideas, thoughts or examples are much appreciated.

© Server Fault or respective owner

Related posts about apache

Related posts about 301-redirect