Hello all,
Need some help with redirecting requests for asp pages. We just took over a site that was previously built with .asp. Now we have the site on an XServe which doesnt run ASP but the client has some pages with high ranks in Google. So they want us to redirect those particular ones to the new files.
Problem is, I think Apache instantly throws a 404 since it cannot execute ASP. Can anyone confirm this?
The old URLs look like this:
http://www.activcarept.com/siteres.aspx?resid=128acdcb-dfa3-458c-90ce-42147f679c2f
So that one for example I need to go to
http://www.activcarept.com/images/uploads/BackNeck-PT.pdf
I’ve tried all kinds of combinations of using Redirect, Redirectmatch etc. and none of them work. Any Apache gurus out there that can help me?
Some examples of what I’ve tried:
[code]
Redirect 301 /siteres.aspx?resid=128acdcb-dfa3-458c-90ce-42147f679c2f http://www.activcarept.com/images/uploads/BackNeck-PT.pdf
Redirectmatch 301 \/(.*)128acdcb-dfa3-458c-90ce-42147f679c2f http://www.activcarept.com/images/uploads/BackNeck-PT.pdf
Redirectmatch 301 \/(.*)128acdcb-dfa3-458c-90ce-42147f679c2f http://www.activcarept.com/images/uploads/BackNeck-PT.pdf
[/code]
Comments are closed