How can I use mod_rewrite on Apache to direct any request for any page in a particular VirtualHost to another domain? i.e. something like:
Redirect * to http://www.some-other-domain.com/some-page.html
RewriteRule .* http://www.some-other-domain.com/some-page.html [R=301,L]
You may want to read this article for more information.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
3 years ago