Dasher
07-24-2009, 12:52 PM
I have a what I thought would be a simple redirect but it does not work universally.
#AddHandler application/x-httpd-php5 .php
#Options +FollowSymlinks
#RewriteEngine on
Redirect (.*) http://www.new-website.com/ [R=301,L]
But if I issue a url with
www.old-website.com/some-directory/some-file.html
I get a 404 and a 403 error instead of a redirect. What do I need to do to just redirect everything to the new url without regard to the path.
#AddHandler application/x-httpd-php5 .php
#Options +FollowSymlinks
#RewriteEngine on
Redirect (.*) http://www.new-website.com/ [R=301,L]
But if I issue a url with
www.old-website.com/some-directory/some-file.html
I get a 404 and a 403 error instead of a redirect. What do I need to do to just redirect everything to the new url without regard to the path.