Good Evening,

I recently created site the requires a 301 redirect.  I would like to
redirect all files with https://www.oldsite.com/*.* to
https://secure.newsite.com.  Currently using the following in the htaccess
however it's not redirecting.  Any suggestions?

RewriteEngine on
RewriteCond %{HTTP_HOST} !^secure\.newsite\.com [NC]
RewriteCond %{HTTP_HOST} ^oldsite\.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.oldsite\.com [NC]
RewriteRule ^(.*)$ https://secure.newsite.com/$1 [R=301,L]

Thanks in advance for your help.

-- 
Michael Brown

*"Do a Common Thing Uncommonly Well"*

Direct Line - 770-605-5240



We Get Your Business Moving
http://www.techillo.com

<http://www.linkedin.com/in/hotdeals>

Twitter: http://www.twitter.com/singleconcepts

Skype ID: "hotdealer"

Reply via email to