Thanks falko.
Instead of using .htaccess for the 301 redirect can I use "Apache Directives (Optional):" in ISPConfig?
Maybe put something like this there:
Quote:
RewriteCond %{HTTP_HOST} !^www\.newdomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]
|
The 301 redirect is critical for SEO and it also makes sure the "www" is present in the URL.
Since olddomain.com will be going away I think I will change the Domain of the site to newdomain.com and create co-domains for olddomain.com and
www.olddomain.com. That way I can simply delete the co-domains in a year or so when I no longer need them. I think that will do the same thing as you suggest.